org.apache.jackrabbit.oak.jcr.delegate
Class PrivilegeManagerDelegator
java.lang.Object
org.apache.jackrabbit.oak.jcr.delegate.PrivilegeManagerDelegator
- All Implemented Interfaces:
- org.apache.jackrabbit.api.security.authorization.PrivilegeManager
public class PrivilegeManagerDelegator
- extends Object
- implements org.apache.jackrabbit.api.security.authorization.PrivilegeManager
This implementation of PrivilegeManager
delegates back to a
delegatee wrapping each call into a SessionOperation
closure.
- See Also:
SessionDelegate.perform(SessionOperation)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PrivilegeManagerDelegator
public PrivilegeManagerDelegator(SessionDelegate delegate,
org.apache.jackrabbit.api.security.authorization.PrivilegeManager pm)
getRegisteredPrivileges
public javax.jcr.security.Privilege[] getRegisteredPrivileges()
throws javax.jcr.RepositoryException
- Specified by:
getRegisteredPrivileges
in interface org.apache.jackrabbit.api.security.authorization.PrivilegeManager
- Throws:
javax.jcr.RepositoryException
getPrivilege
public javax.jcr.security.Privilege getPrivilege(String privilegeName)
throws javax.jcr.security.AccessControlException,
javax.jcr.RepositoryException
- Specified by:
getPrivilege
in interface org.apache.jackrabbit.api.security.authorization.PrivilegeManager
- Throws:
javax.jcr.security.AccessControlException
javax.jcr.RepositoryException
registerPrivilege
public javax.jcr.security.Privilege registerPrivilege(String privilegeName,
boolean isAbstract,
String[] declaredAggregateNames)
throws javax.jcr.AccessDeniedException,
javax.jcr.NamespaceException,
javax.jcr.RepositoryException
- Specified by:
registerPrivilege
in interface org.apache.jackrabbit.api.security.authorization.PrivilegeManager
- Throws:
javax.jcr.AccessDeniedException
javax.jcr.NamespaceException
javax.jcr.RepositoryException
Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.