Klasse MemoryUserManagerImpl
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.fulcrum.security.spi.AbstractManager
org.apache.fulcrum.security.spi.AbstractEntityManager
org.apache.fulcrum.security.spi.AbstractUserManager
org.apache.fulcrum.security.memory.MemoryUserManagerImpl
- Alle implementierten Schnittstellen:
- Serializable,- org.apache.avalon.framework.activity.Disposable,- org.apache.avalon.framework.configuration.Configurable,- org.apache.avalon.framework.logger.LogEnabled,- org.apache.avalon.framework.service.Serviceable,- org.apache.avalon.framework.thread.ThreadSafe,- UserManager
- Bekannte direkte Unterklassen:
- MemoryTurbineUserManagerImpl
This implementation keeps all objects in memory. This is mostly meant to help
 with testing and prototyping of ideas.
- Version:
- $Id$
- Autor:
- Eric Pugh
- Siehe auch:
- 
FeldübersichtVon Klasse geerbte Felder org.apache.fulcrum.security.spi.AbstractManagermanagerVon Schnittstelle geerbte Felder org.apache.fulcrum.security.UserManagerROLE
- 
KonstruktorübersichtKonstruktoren
- 
MethodenübersichtModifizierer und TypMethodeBeschreibungbooleancheckExists(String userName) Check whether a specified user's account exists.Retrieves all users defined in the system.protected <T extends User>
 TpersistNewUser(T user) Creates new user account with specified attributes.voidremoveUser(User user) Removes an user account from the system.retrieveUserList(Object criteria) voidStores User attributes.Von Klasse geerbte Methoden org.apache.fulcrum.security.spi.AbstractUserManageraddUser, authenticate, changePassword, checkExists, forcePassword, getACL, getACLFactory, getUser, getUser, getUserById, getUserInstance, getUserInstanceVon Klasse geerbte Methoden org.apache.fulcrum.security.spi.AbstractEntityManagerconfigure, getClassName, setClassNameVon Klasse geerbte Methoden org.apache.fulcrum.security.spi.AbstractManagerdispose, getGroupManager, getPermissionManager, getRoleManager, getServiceManager, getUserManager, release, resolve, serviceVon Klasse geerbte Methoden org.apache.avalon.framework.logger.AbstractLogEnabledenableLogging, getLogger, setupLogger, setupLogger, setupLogger
- 
Konstruktordetails- 
MemoryUserManagerImplpublic MemoryUserManagerImpl()
 
- 
- 
Methodendetails- 
checkExistsCheck whether a specified user's account exists. The login name is used for looking up the account.- Parameter:
- userName- The name of the user to be checked.
- Gibt zurück:
- true if the specified account exists
- Löst aus:
- DataBackendException- if there was an error accessing the data backend.
 
- 
getAllUsersRetrieves all users defined in the system.- Gibt zurück:
- the names of all users defined in the system.
- Löst aus:
- DataBackendException- if there was an error accessing the data backend.
 
- 
retrieveUserList- Löst aus:
- DataBackendException
 
- 
removeUserRemoves an user account from the system.- Parameter:
- user- the object describing the account to be removed.
- Löst aus:
- DataBackendException- if there was an error accessing the data backend.
- UnknownEntityException- if the user account is not present.
 
- 
persistNewUserCreates new user account with specified attributes.- Angegeben von:
- persistNewUserin Klasse- AbstractUserManager
- Parameter:
- user- the object describing account to be created.
- Löst aus:
- DataBackendException- if there was an error accessing the data backend.
 
- 
saveUserStores User attributes. The User is required to exist in the system.- Parameter:
- user- The User to be stored.
- Löst aus:
- DataBackendException- if there was an error accessing the data backend
- UnknownEntityException- if the role does not exist.
 
 
-