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
Modifier and Type | Field and Description |
---|---|
protected GroupManager |
groupManager
The instance of GroupManager the SecurityService uses
|
protected ModelManager |
modelManager
The instance of ModelManager the SecurityService uses
|
protected PermissionManager |
permissionManager
The instance of PermissionManager the SecurityService uses
|
protected RoleManager |
roleManager
The instance of RoleManager the SecurityService uses
|
protected UserManager |
userManager
The instance of UserManager the SecurityService uses
|
ROLE
Constructor and Description |
---|
BaseSecurityService() |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Avalon Service lifecycle method
|
GroupManager |
getGroupManager()
Returns the configured GroupManager.
|
ModelManager |
getModelManager()
Returns the configured ModelManager.
|
PermissionManager |
getPermissionManager()
Returns the configured PermissionManager.
|
RoleManager |
getRoleManager()
Returns the configured RoleManager.
|
UserManager |
getUserManager()
Returns the configured UserManager.
|
void |
initialize()
Avalon Service lifecycle method Initializes the SecurityService, locating
the appropriate UserManager
|
void |
service(org.apache.avalon.framework.service.ServiceManager manager)
Avalon Service lifecycle method
|
protected UserManager userManager
protected RoleManager roleManager
protected GroupManager groupManager
protected PermissionManager permissionManager
protected ModelManager modelManager
public UserManager getUserManager()
getUserManager
in interface SecurityService
public GroupManager getGroupManager()
getGroupManager
in interface SecurityService
public RoleManager getRoleManager()
getRoleManager
in interface SecurityService
public PermissionManager getPermissionManager()
getPermissionManager
in interface SecurityService
public ModelManager getModelManager()
getModelManager
in interface SecurityService
public void service(org.apache.avalon.framework.service.ServiceManager manager) throws org.apache.avalon.framework.service.ServiceException
service
in interface org.apache.avalon.framework.service.Serviceable
org.apache.avalon.framework.service.ServiceException
public void initialize() throws Exception
initialize
in interface org.apache.avalon.framework.activity.Initializable
Exception
- A Problem occurred while initializing the User Manager.public void dispose()
Copyright © 2011-2015 The Apache Software Foundation. All Rights Reserved.