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 SecurityServicepublic GroupManager getGroupManager()
getGroupManager in interface SecurityServicepublic RoleManager getRoleManager()
getRoleManager in interface SecurityServicepublic PermissionManager getPermissionManager()
getPermissionManager in interface SecurityServicepublic ModelManager getModelManager()
getModelManager in interface SecurityServicepublic void service(org.apache.avalon.framework.service.ServiceManager manager)
throws org.apache.avalon.framework.service.ServiceException
service in interface org.apache.avalon.framework.service.Serviceableorg.apache.avalon.framework.service.ServiceExceptionpublic void initialize()
throws Exception
initialize in interface org.apache.avalon.framework.activity.InitializableException - A Problem occurred while initializing the User Manager.public void dispose()
Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.