Package org.apache.fulcrum.security
Klasse BaseSecurityService
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.fulcrum.security.BaseSecurityService
- Alle implementierten Schnittstellen:
org.apache.avalon.framework.activity.Initializable
,org.apache.avalon.framework.logger.LogEnabled
,org.apache.avalon.framework.service.Serviceable
,org.apache.avalon.framework.thread.ThreadSafe
,SecurityService
public class BaseSecurityService
extends org.apache.avalon.framework.logger.AbstractLogEnabled
implements SecurityService, org.apache.avalon.framework.activity.Initializable, org.apache.avalon.framework.service.Serviceable, org.apache.avalon.framework.thread.ThreadSafe
This a basis implementation of the Fulcrum security service.
Provided functionality includes:
- methods for retrieving different types of managers.
- avalon lifecyle managers.
- Version:
- $Id$
- Autor:
- Eric PUgh
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungprotected GroupManager
The instance of GroupManager the SecurityService usesprotected ModelManager
The instance of ModelManager the SecurityService usesprotected PermissionManager
The instance of PermissionManager the SecurityService usesprotected RoleManager
The instance of RoleManager the SecurityService usesprotected UserManager
The instance of UserManager the SecurityService usesVon Schnittstelle geerbte Felder org.apache.fulcrum.security.SecurityService
ROLE
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
dispose()
Avalon Service lifecycle methodReturns the configured GroupManager.Returns the configured ModelManager.Returns the configured PermissionManager.Returns the configured RoleManager.Returns the configured UserManager.void
Avalon Service lifecycle method Initializes the SecurityService, locating the appropriate UserManagervoid
service
(org.apache.avalon.framework.service.ServiceManager manager) Avalon Service lifecycle methodVon Klasse geerbte Methoden org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Felddetails
-
userManager
The instance of UserManager the SecurityService uses -
roleManager
The instance of RoleManager the SecurityService uses -
groupManager
The instance of GroupManager the SecurityService uses -
permissionManager
The instance of PermissionManager the SecurityService uses -
modelManager
The instance of ModelManager the SecurityService uses
-
-
Konstruktordetails
-
BaseSecurityService
public BaseSecurityService()
-
-
Methodendetails
-
getUserManager
Returns the configured UserManager.- Angegeben von:
getUserManager
in SchnittstelleSecurityService
- Gibt zurück:
- An UserManager object
-
getGroupManager
Returns the configured GroupManager.- Angegeben von:
getGroupManager
in SchnittstelleSecurityService
- Gibt zurück:
- An UserManager object
-
getRoleManager
Returns the configured RoleManager.- Angegeben von:
getRoleManager
in SchnittstelleSecurityService
- Gibt zurück:
- An RoleManager object
-
getPermissionManager
Returns the configured PermissionManager.- Angegeben von:
getPermissionManager
in SchnittstelleSecurityService
- Gibt zurück:
- An PermissionManager object
-
getModelManager
Returns the configured ModelManager.- Angegeben von:
getModelManager
in SchnittstelleSecurityService
- Gibt zurück:
- An ModelManager object
-
service
public void service(org.apache.avalon.framework.service.ServiceManager manager) throws org.apache.avalon.framework.service.ServiceException Avalon Service lifecycle method- Angegeben von:
service
in Schnittstelleorg.apache.avalon.framework.service.Serviceable
- Löst aus:
org.apache.avalon.framework.service.ServiceException
-
initialize
Avalon Service lifecycle method Initializes the SecurityService, locating the appropriate UserManager- Angegeben von:
initialize
in Schnittstelleorg.apache.avalon.framework.activity.Initializable
- Löst aus:
Exception
- A Problem occurred while initializing the User Manager.
-
dispose
public void dispose()Avalon Service lifecycle method
-