org.codehaus.plexus.redback.rbac.cached
Class CachedRbacManager
java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
org.codehaus.plexus.redback.rbac.cached.CachedRbacManager
- All Implemented Interfaces:
- org.codehaus.plexus.logging.LogEnabled, org.codehaus.plexus.redback.rbac.RBACManager, org.codehaus.plexus.redback.rbac.RBACManagerListener
public class CachedRbacManager
- extends org.codehaus.plexus.logging.AbstractLogEnabled
- implements org.codehaus.plexus.redback.rbac.RBACManager, org.codehaus.plexus.redback.rbac.RBACManagerListener
CachedRbacManager is a wrapped RBACManager with caching.
- Version:
- $Id: CachedRbacManager.java 392 2007-10-19 21:32:04Z joakime $
- Author:
- Joakim Erdfelt
| Fields inherited from interface org.codehaus.plexus.redback.rbac.RBACManager |
ROLE |
| Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CachedRbacManager
public CachedRbacManager()
addChildRole
public void addChildRole(org.codehaus.plexus.redback.rbac.Role role,
org.codehaus.plexus.redback.rbac.Role childRole)
throws org.codehaus.plexus.redback.rbac.RbacObjectInvalidException,
org.codehaus.plexus.redback.rbac.RbacManagerException
- Specified by:
addChildRole in interface org.codehaus.plexus.redback.rbac.RBACManager
- Throws:
org.codehaus.plexus.redback.rbac.RbacObjectInvalidException
org.codehaus.plexus.redback.rbac.RbacManagerException
addListener
public void addListener(org.codehaus.plexus.redback.rbac.RBACManagerListener listener)
- Specified by:
addListener in interface org.codehaus.plexus.redback.rbac.RBACManager
createOperation
public org.codehaus.plexus.redback.rbac.Operation createOperation(java.lang.String name)
throws org.codehaus.plexus.redback.rbac.RbacManagerException
- Specified by:
createOperation in interface org.codehaus.plexus.redback.rbac.RBACManager
- Throws:
org.codehaus.plexus.redback.rbac.RbacManagerException
createPermission
public org.codehaus.plexus.redback.rbac.Permission createPermission(java.lang.String name)
throws org.codehaus.plexus.redback.rbac.RbacManagerException
- Specified by:
createPermission in interface org.codehaus.plexus.redback.rbac.RBACManager
- Throws:
org.codehaus.plexus.redback.rbac.RbacManagerException
createPermission
public org.codehaus.plexus.redback.rbac.Permission createPermission(java.lang.String name,
java.lang.String operationName,
java.lang.String resourceIdentifier)
throws org.codehaus.plexus.redback.rbac.RbacManagerException
- Specified by:
createPermission in interface org.codehaus.plexus.redback.rbac.RBACManager
- Throws:
org.codehaus.plexus.redback.rbac.RbacManagerException
createResource
public org.codehaus.plexus.redback.rbac.Resource createResource(java.lang.String identifier)
throws org.codehaus.plexus.redback.rbac.RbacManagerException
- Specified by:
createResource in interface org.codehaus.plexus.redback.rbac.RBACManager
- Throws:
org.codehaus.plexus.redback.rbac.RbacManagerException
createRole
public org.codehaus.plexus.redback.rbac.Role createRole(java.lang.String name)
- Specified by:
createRole in interface org.codehaus.plexus.redback.rbac.RBACManager
createUserAssignment
public org.codehaus.plexus.redback.rbac.UserAssignment createUserAssignment(java.lang.String principal)
throws org.codehaus.plexus.redback.rbac.RbacManagerException
- Specified by:
createUserAssignment in interface org.codehaus.plexus.redback.rbac.RBACManager
- Throws:
org.codehaus.plexus.redback.rbac.RbacManagerException
eraseDatabase
public void eraseDatabase()
- Specified by:
eraseDatabase in interface org.codehaus.plexus.redback.rbac.RBACManager
getAllAssignableRoles
public java.util.List getAllAssignableRoles()
throws org.codehaus.plexus.redback.rbac.RbacManagerException,
org.codehaus.plexus.redback.rbac.RbacObjectNotFoundException
- Specified by:
getAllAssignableRoles in interface org.codehaus.plexus.redback.rbac.RBACManager
- Throws:
org.codehaus.plexus.redback.rbac.RbacManagerException
org.codehaus.plexus.redback.rbac.RbacObjectNotFoundException
getAllOperations
public java.util.List getAllOperations()
throws org.codehaus.plexus.redback.rbac.RbacManagerException
- Specified by:
getAllOperations in interface org.codehaus.plexus.redback.rbac.RBACManager
- Throws:
org.codehaus.plexus.redback.rbac.RbacManagerException
getAllPermissions
public java.util.List getAllPermissions()
throws org.codehaus.plexus.redback.rbac.RbacManagerException
- Specified by:
getAllPermissions in interface org.codehaus.plexus.redback.rbac.RBACManager
- Throws:
org.codehaus.plexus.redback.rbac.RbacManagerException
getAllResources
public java.util.List getAllResources()
throws org.codehaus.plexus.redback.rbac.RbacManagerException
- Specified by:
getAllResources in interface org.codehaus.plexus.redback.rbac.RBACManager
- Throws:
org.codehaus.plexus.redback.rbac.RbacManagerException
getAllRoles
public java.util.List getAllRoles()
throws org.codehaus.plexus.redback.rbac.RbacManagerException
- Specified by:
getAllRoles in interface org.codehaus.plexus.redback.rbac.RBACManager
- Throws:
org.codehaus.plexus.redback.rbac.RbacManagerException
getAllUserAssignments
public java.util.List getAllUserAssignments()
throws org.codehaus.plexus.redback.rbac.RbacManagerException
- Specified by:
getAllUserAssignments in interface org.codehaus.plexus.redback.rbac.RBACManager
- Throws:
org.codehaus.plexus.redback.rbac.RbacManagerException
getAssignedPermissionMap
public java.util.Map getAssignedPermissionMap(java.lang.String principal)
throws org.codehaus.plexus.redback.rbac.RbacObjectNotFoundException,
org.codehaus.plexus.redback.rbac.RbacManagerException
- Specified by:
getAssignedPermissionMap in interface org.codehaus.plexus.redback.rbac.RBACManager
- Throws:
org.codehaus.plexus.redback.rbac.RbacObjectNotFoundException
org.codehaus.plexus.redback.rbac.RbacManagerException
getAssignedPermissions
public java.util.Set getAssignedPermissions(java.lang.String principal)
throws org.codehaus.plexus.redback.rbac.RbacObjectNotFoundException,
org.codehaus.plexus.redback.rbac.RbacManagerException
- Specified by:
getAssignedPermissions in interface org.codehaus.plexus.redback.rbac.RBACManager
- Throws:
org.codehaus.plexus.redback.rbac.RbacObjectNotFoundException
org.codehaus.plexus.redback.rbac.RbacManagerException
getAssignedRoles
public java.util.Collection getAssignedRoles(java.lang.String principal)
throws org.codehaus.plexus.redback.rbac.RbacObjectNotFoundException,
org.codehaus.plexus.redback.rbac.RbacManagerException
- Specified by:
getAssignedRoles in interface org.codehaus.plexus.redback.rbac.RBACManager
- Throws:
org.codehaus.plexus.redback.rbac.RbacObjectNotFoundException
org.codehaus.plexus.redback.rbac.RbacManagerException
getAssignedRoles
public java.util.Collection getAssignedRoles(org.codehaus.plexus.redback.rbac.UserAssignment userAssignment)
throws org.codehaus.plexus.redback.rbac.RbacObjectNotFoundException,
org.codehaus.plexus.redback.rbac.RbacManagerException
- Specified by:
getAssignedRoles in interface org.codehaus.plexus.redback.rbac.RBACManager
- Throws:
org.codehaus.plexus.redback.rbac.RbacObjectNotFoundException
org.codehaus.plexus.redback.rbac.RbacManagerException
getChildRoles
public java.util.Map getChildRoles(org.codehaus.plexus.redback.rbac.Role role)
throws org.codehaus.plexus.redback.rbac.RbacManagerException
- Specified by:
getChildRoles in interface org.codehaus.plexus.redback.rbac.RBACManager
- Throws:
org.codehaus.plexus.redback.rbac.RbacManagerException
getEffectivelyAssignedRoles
public java.util.Collection getEffectivelyAssignedRoles(java.lang.String principal)
throws org.codehaus.plexus.redback.rbac.RbacObjectNotFoundException,
org.codehaus.plexus.redback.rbac.RbacManagerException
- Specified by:
getEffectivelyAssignedRoles in interface org.codehaus.plexus.redback.rbac.RBACManager
- Throws:
org.codehaus.plexus.redback.rbac.RbacObjectNotFoundException
org.codehaus.plexus.redback.rbac.RbacManagerException
getEffectivelyUnassignedRoles
public java.util.Collection getEffectivelyUnassignedRoles(java.lang.String principal)
throws org.codehaus.plexus.redback.rbac.RbacManagerException,
org.codehaus.plexus.redback.rbac.RbacObjectNotFoundException
- Specified by:
getEffectivelyUnassignedRoles in interface org.codehaus.plexus.redback.rbac.RBACManager
- Throws:
org.codehaus.plexus.redback.rbac.RbacManagerException
org.codehaus.plexus.redback.rbac.RbacObjectNotFoundException
getEffectiveRoles
public java.util.Set getEffectiveRoles(org.codehaus.plexus.redback.rbac.Role role)
throws org.codehaus.plexus.redback.rbac.RbacObjectNotFoundException,
org.codehaus.plexus.redback.rbac.RbacManagerException
- Specified by:
getEffectiveRoles in interface org.codehaus.plexus.redback.rbac.RBACManager
- Throws:
org.codehaus.plexus.redback.rbac.RbacObjectNotFoundException
org.codehaus.plexus.redback.rbac.RbacManagerException
getGlobalResource
public org.codehaus.plexus.redback.rbac.Resource getGlobalResource()
throws org.codehaus.plexus.redback.rbac.RbacManagerException
- Specified by:
getGlobalResource in interface org.codehaus.plexus.redback.rbac.RBACManager
- Throws:
org.codehaus.plexus.redback.rbac.RbacManagerException
getOperation
public org.codehaus.plexus.redback.rbac.Operation getOperation(java.lang.String operationName)
throws org.codehaus.plexus.redback.rbac.RbacObjectNotFoundException,
org.codehaus.plexus.redback.rbac.RbacManagerException
- Specified by:
getOperation in interface org.codehaus.plexus.redback.rbac.RBACManager
- Throws:
org.codehaus.plexus.redback.rbac.RbacObjectNotFoundException
org.codehaus.plexus.redback.rbac.RbacManagerException
getPermission
public org.codehaus.plexus.redback.rbac.Permission getPermission(java.lang.String permissionName)
throws org.codehaus.plexus.redback.rbac.RbacObjectNotFoundException,
org.codehaus.plexus.redback.rbac.RbacManagerException
- Specified by:
getPermission in interface org.codehaus.plexus.redback.rbac.RBACManager
- Throws:
org.codehaus.plexus.redback.rbac.RbacObjectNotFoundException
org.codehaus.plexus.redback.rbac.RbacManagerException
getResource
public org.codehaus.plexus.redback.rbac.Resource getResource(java.lang.String resourceIdentifier)
throws org.codehaus.plexus.redback.rbac.RbacObjectNotFoundException,
org.codehaus.plexus.redback.rbac.RbacManagerException
- Specified by:
getResource in interface org.codehaus.plexus.redback.rbac.RBACManager
- Throws:
org.codehaus.plexus.redback.rbac.RbacObjectNotFoundException
org.codehaus.plexus.redback.rbac.RbacManagerException
getRole
public org.codehaus.plexus.redback.rbac.Role getRole(java.lang.String roleName)
throws org.codehaus.plexus.redback.rbac.RbacObjectNotFoundException,
org.codehaus.plexus.redback.rbac.RbacManagerException
- Specified by:
getRole in interface org.codehaus.plexus.redback.rbac.RBACManager
- Throws:
org.codehaus.plexus.redback.rbac.RbacObjectNotFoundException
org.codehaus.plexus.redback.rbac.RbacManagerException
getRoles
public java.util.Map getRoles(java.util.Collection roleNames)
throws org.codehaus.plexus.redback.rbac.RbacObjectNotFoundException,
org.codehaus.plexus.redback.rbac.RbacManagerException
- Specified by:
getRoles in interface org.codehaus.plexus.redback.rbac.RBACManager
- Throws:
org.codehaus.plexus.redback.rbac.RbacObjectNotFoundException
org.codehaus.plexus.redback.rbac.RbacManagerException
getUnassignedRoles
public java.util.Collection getUnassignedRoles(java.lang.String principal)
throws org.codehaus.plexus.redback.rbac.RbacManagerException,
org.codehaus.plexus.redback.rbac.RbacObjectNotFoundException
- Specified by:
getUnassignedRoles in interface org.codehaus.plexus.redback.rbac.RBACManager
- Throws:
org.codehaus.plexus.redback.rbac.RbacManagerException
org.codehaus.plexus.redback.rbac.RbacObjectNotFoundException
getUserAssignment
public org.codehaus.plexus.redback.rbac.UserAssignment getUserAssignment(java.lang.String principal)
throws org.codehaus.plexus.redback.rbac.RbacObjectNotFoundException,
org.codehaus.plexus.redback.rbac.RbacManagerException
- Specified by:
getUserAssignment in interface org.codehaus.plexus.redback.rbac.RBACManager
- Throws:
org.codehaus.plexus.redback.rbac.RbacObjectNotFoundException
org.codehaus.plexus.redback.rbac.RbacManagerException
getUserAssignmentsForRoles
public java.util.List getUserAssignmentsForRoles(java.util.Collection roleNames)
throws org.codehaus.plexus.redback.rbac.RbacManagerException
- Specified by:
getUserAssignmentsForRoles in interface org.codehaus.plexus.redback.rbac.RBACManager
- Throws:
org.codehaus.plexus.redback.rbac.RbacManagerException
operationExists
public boolean operationExists(org.codehaus.plexus.redback.rbac.Operation operation)
- Specified by:
operationExists in interface org.codehaus.plexus.redback.rbac.RBACManager
operationExists
public boolean operationExists(java.lang.String name)
- Specified by:
operationExists in interface org.codehaus.plexus.redback.rbac.RBACManager
permissionExists
public boolean permissionExists(org.codehaus.plexus.redback.rbac.Permission permission)
- Specified by:
permissionExists in interface org.codehaus.plexus.redback.rbac.RBACManager
permissionExists
public boolean permissionExists(java.lang.String name)
- Specified by:
permissionExists in interface org.codehaus.plexus.redback.rbac.RBACManager
rbacInit
public void rbacInit(boolean freshdb)
- Specified by:
rbacInit in interface org.codehaus.plexus.redback.rbac.RBACManagerListener
rbacPermissionRemoved
public void rbacPermissionRemoved(org.codehaus.plexus.redback.rbac.Permission permission)
- Specified by:
rbacPermissionRemoved in interface org.codehaus.plexus.redback.rbac.RBACManagerListener
rbacPermissionSaved
public void rbacPermissionSaved(org.codehaus.plexus.redback.rbac.Permission permission)
- Specified by:
rbacPermissionSaved in interface org.codehaus.plexus.redback.rbac.RBACManagerListener
rbacRoleRemoved
public void rbacRoleRemoved(org.codehaus.plexus.redback.rbac.Role role)
- Specified by:
rbacRoleRemoved in interface org.codehaus.plexus.redback.rbac.RBACManagerListener
rbacRoleSaved
public void rbacRoleSaved(org.codehaus.plexus.redback.rbac.Role role)
- Specified by:
rbacRoleSaved in interface org.codehaus.plexus.redback.rbac.RBACManagerListener
rbacUserAssignmentRemoved
public void rbacUserAssignmentRemoved(org.codehaus.plexus.redback.rbac.UserAssignment userAssignment)
- Specified by:
rbacUserAssignmentRemoved in interface org.codehaus.plexus.redback.rbac.RBACManagerListener
rbacUserAssignmentSaved
public void rbacUserAssignmentSaved(org.codehaus.plexus.redback.rbac.UserAssignment userAssignment)
- Specified by:
rbacUserAssignmentSaved in interface org.codehaus.plexus.redback.rbac.RBACManagerListener
removeListener
public void removeListener(org.codehaus.plexus.redback.rbac.RBACManagerListener listener)
- Specified by:
removeListener in interface org.codehaus.plexus.redback.rbac.RBACManager
removeOperation
public void removeOperation(org.codehaus.plexus.redback.rbac.Operation operation)
throws org.codehaus.plexus.redback.rbac.RbacObjectNotFoundException,
org.codehaus.plexus.redback.rbac.RbacObjectInvalidException,
org.codehaus.plexus.redback.rbac.RbacManagerException
- Specified by:
removeOperation in interface org.codehaus.plexus.redback.rbac.RBACManager
- Throws:
org.codehaus.plexus.redback.rbac.RbacObjectNotFoundException
org.codehaus.plexus.redback.rbac.RbacObjectInvalidException
org.codehaus.plexus.redback.rbac.RbacManagerException
removeOperation
public void removeOperation(java.lang.String operationName)
throws org.codehaus.plexus.redback.rbac.RbacObjectNotFoundException,
org.codehaus.plexus.redback.rbac.RbacObjectInvalidException,
org.codehaus.plexus.redback.rbac.RbacManagerException
- Specified by:
removeOperation in interface org.codehaus.plexus.redback.rbac.RBACManager
- Throws:
org.codehaus.plexus.redback.rbac.RbacObjectNotFoundException
org.codehaus.plexus.redback.rbac.RbacObjectInvalidException
org.codehaus.plexus.redback.rbac.RbacManagerException
removePermission
public void removePermission(org.codehaus.plexus.redback.rbac.Permission permission)
throws org.codehaus.plexus.redback.rbac.RbacObjectNotFoundException,
org.codehaus.plexus.redback.rbac.RbacObjectInvalidException,
org.codehaus.plexus.redback.rbac.RbacManagerException
- Specified by:
removePermission in interface org.codehaus.plexus.redback.rbac.RBACManager
- Throws:
org.codehaus.plexus.redback.rbac.RbacObjectNotFoundException
org.codehaus.plexus.redback.rbac.RbacObjectInvalidException
org.codehaus.plexus.redback.rbac.RbacManagerException
removePermission
public void removePermission(java.lang.String permissionName)
throws org.codehaus.plexus.redback.rbac.RbacObjectNotFoundException,
org.codehaus.plexus.redback.rbac.RbacObjectInvalidException,
org.codehaus.plexus.redback.rbac.RbacManagerException
- Specified by:
removePermission in interface org.codehaus.plexus.redback.rbac.RBACManager
- Throws:
org.codehaus.plexus.redback.rbac.RbacObjectNotFoundException
org.codehaus.plexus.redback.rbac.RbacObjectInvalidException
org.codehaus.plexus.redback.rbac.RbacManagerException
removeResource
public void removeResource(org.codehaus.plexus.redback.rbac.Resource resource)
throws org.codehaus.plexus.redback.rbac.RbacObjectNotFoundException,
org.codehaus.plexus.redback.rbac.RbacObjectInvalidException,
org.codehaus.plexus.redback.rbac.RbacManagerException
- Specified by:
removeResource in interface org.codehaus.plexus.redback.rbac.RBACManager
- Throws:
org.codehaus.plexus.redback.rbac.RbacObjectNotFoundException
org.codehaus.plexus.redback.rbac.RbacObjectInvalidException
org.codehaus.plexus.redback.rbac.RbacManagerException
removeResource
public void removeResource(java.lang.String resourceIdentifier)
throws org.codehaus.plexus.redback.rbac.RbacObjectNotFoundException,
org.codehaus.plexus.redback.rbac.RbacObjectInvalidException,
org.codehaus.plexus.redback.rbac.RbacManagerException
- Specified by:
removeResource in interface org.codehaus.plexus.redback.rbac.RBACManager
- Throws:
org.codehaus.plexus.redback.rbac.RbacObjectNotFoundException
org.codehaus.plexus.redback.rbac.RbacObjectInvalidException
org.codehaus.plexus.redback.rbac.RbacManagerException
removeRole
public void removeRole(org.codehaus.plexus.redback.rbac.Role role)
throws org.codehaus.plexus.redback.rbac.RbacObjectNotFoundException,
org.codehaus.plexus.redback.rbac.RbacObjectInvalidException,
org.codehaus.plexus.redback.rbac.RbacManagerException
- Specified by:
removeRole in interface org.codehaus.plexus.redback.rbac.RBACManager
- Throws:
org.codehaus.plexus.redback.rbac.RbacObjectNotFoundException
org.codehaus.plexus.redback.rbac.RbacObjectInvalidException
org.codehaus.plexus.redback.rbac.RbacManagerException
removeRole
public void removeRole(java.lang.String roleName)
throws org.codehaus.plexus.redback.rbac.RbacObjectNotFoundException,
org.codehaus.plexus.redback.rbac.RbacObjectInvalidException,
org.codehaus.plexus.redback.rbac.RbacManagerException
- Specified by:
removeRole in interface org.codehaus.plexus.redback.rbac.RBACManager
- Throws:
org.codehaus.plexus.redback.rbac.RbacObjectNotFoundException
org.codehaus.plexus.redback.rbac.RbacObjectInvalidException
org.codehaus.plexus.redback.rbac.RbacManagerException
removeUserAssignment
public void removeUserAssignment(java.lang.String principal)
throws org.codehaus.plexus.redback.rbac.RbacObjectNotFoundException,
org.codehaus.plexus.redback.rbac.RbacObjectInvalidException,
org.codehaus.plexus.redback.rbac.RbacManagerException
- Specified by:
removeUserAssignment in interface org.codehaus.plexus.redback.rbac.RBACManager
- Throws:
org.codehaus.plexus.redback.rbac.RbacObjectNotFoundException
org.codehaus.plexus.redback.rbac.RbacObjectInvalidException
org.codehaus.plexus.redback.rbac.RbacManagerException
removeUserAssignment
public void removeUserAssignment(org.codehaus.plexus.redback.rbac.UserAssignment userAssignment)
throws org.codehaus.plexus.redback.rbac.RbacObjectNotFoundException,
org.codehaus.plexus.redback.rbac.RbacObjectInvalidException,
org.codehaus.plexus.redback.rbac.RbacManagerException
- Specified by:
removeUserAssignment in interface org.codehaus.plexus.redback.rbac.RBACManager
- Throws:
org.codehaus.plexus.redback.rbac.RbacObjectNotFoundException
org.codehaus.plexus.redback.rbac.RbacObjectInvalidException
org.codehaus.plexus.redback.rbac.RbacManagerException
resourceExists
public boolean resourceExists(org.codehaus.plexus.redback.rbac.Resource resource)
- Specified by:
resourceExists in interface org.codehaus.plexus.redback.rbac.RBACManager
resourceExists
public boolean resourceExists(java.lang.String identifier)
- Specified by:
resourceExists in interface org.codehaus.plexus.redback.rbac.RBACManager
roleExists
public boolean roleExists(org.codehaus.plexus.redback.rbac.Role role)
- Specified by:
roleExists in interface org.codehaus.plexus.redback.rbac.RBACManager
roleExists
public boolean roleExists(java.lang.String name)
- Specified by:
roleExists in interface org.codehaus.plexus.redback.rbac.RBACManager
saveOperation
public org.codehaus.plexus.redback.rbac.Operation saveOperation(org.codehaus.plexus.redback.rbac.Operation operation)
throws org.codehaus.plexus.redback.rbac.RbacObjectInvalidException,
org.codehaus.plexus.redback.rbac.RbacManagerException
- Specified by:
saveOperation in interface org.codehaus.plexus.redback.rbac.RBACManager
- Throws:
org.codehaus.plexus.redback.rbac.RbacObjectInvalidException
org.codehaus.plexus.redback.rbac.RbacManagerException
savePermission
public org.codehaus.plexus.redback.rbac.Permission savePermission(org.codehaus.plexus.redback.rbac.Permission permission)
throws org.codehaus.plexus.redback.rbac.RbacObjectInvalidException,
org.codehaus.plexus.redback.rbac.RbacManagerException
- Specified by:
savePermission in interface org.codehaus.plexus.redback.rbac.RBACManager
- Throws:
org.codehaus.plexus.redback.rbac.RbacObjectInvalidException
org.codehaus.plexus.redback.rbac.RbacManagerException
saveResource
public org.codehaus.plexus.redback.rbac.Resource saveResource(org.codehaus.plexus.redback.rbac.Resource resource)
throws org.codehaus.plexus.redback.rbac.RbacObjectInvalidException,
org.codehaus.plexus.redback.rbac.RbacManagerException
- Specified by:
saveResource in interface org.codehaus.plexus.redback.rbac.RBACManager
- Throws:
org.codehaus.plexus.redback.rbac.RbacObjectInvalidException
org.codehaus.plexus.redback.rbac.RbacManagerException
saveRole
public org.codehaus.plexus.redback.rbac.Role saveRole(org.codehaus.plexus.redback.rbac.Role role)
throws org.codehaus.plexus.redback.rbac.RbacObjectInvalidException,
org.codehaus.plexus.redback.rbac.RbacManagerException
- Specified by:
saveRole in interface org.codehaus.plexus.redback.rbac.RBACManager
- Throws:
org.codehaus.plexus.redback.rbac.RbacObjectInvalidException
org.codehaus.plexus.redback.rbac.RbacManagerException
saveRoles
public void saveRoles(java.util.Collection roles)
throws org.codehaus.plexus.redback.rbac.RbacObjectInvalidException,
org.codehaus.plexus.redback.rbac.RbacManagerException
- Specified by:
saveRoles in interface org.codehaus.plexus.redback.rbac.RBACManager
- Throws:
org.codehaus.plexus.redback.rbac.RbacObjectInvalidException
org.codehaus.plexus.redback.rbac.RbacManagerException
saveUserAssignment
public org.codehaus.plexus.redback.rbac.UserAssignment saveUserAssignment(org.codehaus.plexus.redback.rbac.UserAssignment userAssignment)
throws org.codehaus.plexus.redback.rbac.RbacObjectInvalidException,
org.codehaus.plexus.redback.rbac.RbacManagerException
- Specified by:
saveUserAssignment in interface org.codehaus.plexus.redback.rbac.RBACManager
- Throws:
org.codehaus.plexus.redback.rbac.RbacObjectInvalidException
org.codehaus.plexus.redback.rbac.RbacManagerException
userAssignmentExists
public boolean userAssignmentExists(java.lang.String principal)
- Specified by:
userAssignmentExists in interface org.codehaus.plexus.redback.rbac.RBACManager
userAssignmentExists
public boolean userAssignmentExists(org.codehaus.plexus.redback.rbac.UserAssignment assignment)
- Specified by:
userAssignmentExists in interface org.codehaus.plexus.redback.rbac.RBACManager
Copyright © 2006-2007 Codehaus. All Rights Reserved.