org.apache.jackrabbit.core.security
Interface JackrabbitAccessControlManager
- All Superinterfaces:
- AccessControlManager
- All Known Implementing Classes:
- AbstractAccessControlManager, DefaultAccessManager, SimpleAccessManager, SimpleAccessManager
public interface JackrabbitAccessControlManager
- extends AccessControlManager
JackrabbitAccessControlManager
...
getApplicablePolicies
AccessControlPolicy[] getApplicablePolicies(Principal principal)
throws AccessDeniedException,
AccessControlException,
UnsupportedRepositoryOperationException,
RepositoryException
- Returns the editable policies for the specified
principal
.
- Returns:
- array of policies for the specified
principal
. Note
that the policy object returned must reveal the path of the node where
they can be applied later on.
- Throws:
AccessDeniedException
- if the session lacks
MODIFY_ACCESS_CONTROL
privilege.
AccessControlException
- if the specified principal does not exist
or if same other access control related exception occurs.
UnsupportedRepositoryOperationException
- if editing the policy
is not supported.
RepositoryException
- if another error occurs.
Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.