Mercurial > dive4elements > framework
view artifacts/src/main/java/de/intevation/artifacts/UserFactory.java @ 130:147610c43863
The UserFactory got a setup() method that is called while bootstrap.
artifacts/trunk@1354 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Wed, 02 Mar 2011 07:36:00 +0000 |
parents | 2707b7ec273f |
children | 2950c6011afa |
line wrap: on
line source
/* * Copyright (c) 2011 by Intevation GmbH * * This program is free software under the LGPL (>=v2.1) * Read the file LGPL.txt coming with the software for details * or visit http://www.gnu.org/licenses/ if it does not exist. */ package de.intevation.artifacts; import org.w3c.dom.Document; import org.w3c.dom.Node; import java.io.Serializable; public interface UserFactory { void setup(Document config, Node factoryNode); User createUser(String identifier, String name, Document role, Object context); void deleteUser(User user, Object context); User getUser(String identifier, Object context); User [] getUsers(Object context); } // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :