public abstract class AbstractTurbineModelManager extends AbstractManager implements TurbineModelManager, org.apache.avalon.framework.configuration.Configurable
manager
GLOBAL_GROUP_ATTR_NAME, GLOBAL_GROUP_NAME
ROLE
Constructor and Description |
---|
AbstractTurbineModelManager() |
Modifier and Type | Method and Description |
---|---|
void |
configure(org.apache.avalon.framework.configuration.Configuration conf)
Avalon component lifecycle method
|
Group |
getGlobalGroup()
Provides a reference to the Group object that represents the global group .
|
String |
getGlobalGroupName() |
void |
revokeAll(Role role)
Revokes all permissions and groups from a Role.
|
void |
revokeAll(User user)
Revokes all roles and groups from a User.
|
dispose, getGroupManager, getPermissionManager, getRoleManager, getServiceManager, getUserManager, release, resolve, service
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
grant, grant, revoke, revoke
public void configure(org.apache.avalon.framework.configuration.Configuration conf)
configure
in interface org.apache.avalon.framework.configuration.Configurable
public Group getGlobalGroup() throws DataBackendException
getGlobalGroup
in interface TurbineModelManager
DataBackendException
public void revokeAll(Role role) throws DataBackendException, UnknownEntityException
revokeAll
in interface TurbineModelManager
role
- the RoleDataBackendException
- if there was an error accessing the data backend.UnknownEntityException
- if the Role is not present.public void revokeAll(User user) throws DataBackendException, UnknownEntityException
revokeAll
in interface TurbineModelManager
user
- the UserDataBackendException
- if there was an error accessing the data backend.UnknownEntityException
- if the Role is not present.public String getGlobalGroupName()
getGlobalGroupName
in interface TurbineModelManager
TurbineModelManager.GLOBAL_GROUP_ATTR_NAME
Copyright © 2011–2017 The Apache Software Foundation. All rights reserved.