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übersichtFelderModifizierer und TypFeldBeschreibungprotected GroupManagerThe instance of GroupManager the SecurityService usesprotected ModelManagerThe instance of ModelManager the SecurityService usesprotected PermissionManagerThe instance of PermissionManager the SecurityService usesprotected RoleManagerThe instance of RoleManager the SecurityService usesprotected UserManagerThe instance of UserManager the SecurityService usesVon Schnittstelle geerbte Felder org.apache.fulcrum.security.SecurityServiceROLE
- 
KonstruktorübersichtKonstruktoren
- 
MethodenübersichtModifizierer und TypMethodeBeschreibungvoiddispose()Avalon Service lifecycle methodReturns the configured GroupManager.Returns the configured ModelManager.Returns the configured PermissionManager.Returns the configured RoleManager.Returns the configured UserManager.voidAvalon Service lifecycle method Initializes the SecurityService, locating the appropriate UserManagervoidservice(org.apache.avalon.framework.service.ServiceManager manager) Avalon Service lifecycle methodVon Klasse geerbte Methoden org.apache.avalon.framework.logger.AbstractLogEnabledenableLogging, getLogger, setupLogger, setupLogger, setupLogger
- 
Felddetails- 
userManagerThe instance of UserManager the SecurityService uses
- 
roleManagerThe instance of RoleManager the SecurityService uses
- 
groupManagerThe instance of GroupManager the SecurityService uses
- 
permissionManagerThe instance of PermissionManager the SecurityService uses
- 
modelManagerThe instance of ModelManager the SecurityService uses
 
- 
- 
Konstruktordetails- 
BaseSecurityServicepublic BaseSecurityService()
 
- 
- 
Methodendetails- 
getUserManagerReturns the configured UserManager.- Angegeben von:
- getUserManagerin Schnittstelle- SecurityService
- Gibt zurück:
- An UserManager object
 
- 
getGroupManagerReturns the configured GroupManager.- Angegeben von:
- getGroupManagerin Schnittstelle- SecurityService
- Gibt zurück:
- An UserManager object
 
- 
getRoleManagerReturns the configured RoleManager.- Angegeben von:
- getRoleManagerin Schnittstelle- SecurityService
- Gibt zurück:
- An RoleManager object
 
- 
getPermissionManagerReturns the configured PermissionManager.- Angegeben von:
- getPermissionManagerin Schnittstelle- SecurityService
- Gibt zurück:
- An PermissionManager object
 
- 
getModelManagerReturns the configured ModelManager.- Angegeben von:
- getModelManagerin Schnittstelle- SecurityService
- Gibt zurück:
- An ModelManager object
 
- 
servicepublic void service(org.apache.avalon.framework.service.ServiceManager manager) throws org.apache.avalon.framework.service.ServiceException Avalon Service lifecycle method- Angegeben von:
- servicein Schnittstelle- org.apache.avalon.framework.service.Serviceable
- Löst aus:
- org.apache.avalon.framework.service.ServiceException
 
- 
initializeAvalon Service lifecycle method Initializes the SecurityService, locating the appropriate UserManager- Angegeben von:
- initializein Schnittstelle- org.apache.avalon.framework.activity.Initializable
- Löst aus:
- Exception- A Problem occurred while initializing the User Manager.
 
- 
disposepublic void dispose()Avalon Service lifecycle method
 
-