Schnittstelle TurbineUserManager
- Alle Superschnittstellen:
Serializable
,UserManager
This interface describes the methods that glue the "turbine" model together.
This Fulcrum user manager is as used as a delegate in the default Turbine user manager.
The user <T extends
User
> is wrapped using an extended user model,
which includes at least TurbineUser
interface.
This interface's methods are wrapped in Turbine user manager (org.apache.turbine.services.security.UserManager) either in a method with the same name (and very similar signature)
or mapped to method names as listed below:
- Turbine (framework) user manager method(s) -> method(s) in this (Fulcrum) manager
- createAccount ->
UserManager.addUser(User, String)
- removeAccount ->
UserManager.removeUser(User)
- store ->
UserManager.saveUser(User)
- retrieve (2x)->
UserManager.getUser(String)
,UserManager.getUser(String, String)
- retrieveList ->
UserManager.getAllUsers()
- accountExists (2x)->
UserManager.checkExists(String)
,UserManager.checkExists(User)
- Version:
- $Id$
- Autor:
- Eric Pugh
-
Feldübersicht
Von Schnittstelle geerbte Felder org.apache.fulcrum.security.UserManager
ROLE
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibung<T extends User>
TConstructs an User object to represent an anonymous user of the application.boolean
isAnonymousUser
(User user) Checks whether a passed user object matches the anonymous user pattern according to the configured user managerVon Schnittstelle geerbte Methoden org.apache.fulcrum.security.UserManager
addUser, authenticate, changePassword, checkExists, checkExists, forcePassword, getACL, getAllUsers, getUser, getUser, getUserById, getUserInstance, getUserInstance, removeUser, retrieveUserList, saveUser
-
Methodendetails
-
getAnonymousUser
Constructs an User object to represent an anonymous user of the application.- Gibt zurück:
- An anonymous Turbine User.
- Löst aus:
UnknownEntityException
- if the anonymous User object couldn't be constructed.
-
isAnonymousUser
Checks whether a passed user object matches the anonymous user pattern according to the configured user manager- Parameter:
user
- A user object- Gibt zurück:
- True if this is an anonymous user
-