Class ClientAccessControlManager
- java.lang.Object
-
- org.apache.jackrabbit.rmi.client.ClientObject
-
- org.apache.jackrabbit.rmi.client.security.ClientAccessControlManager
-
- All Implemented Interfaces:
AccessControlManager
@Deprecated public class ClientAccessControlManager extends ClientObject implements AccessControlManager
Deprecated.RMI support is deprecated and will be removed in a future version of Jackrabbit; see Jira ticket JCR-4972 for more information.Local adapter for the JCR-RMI
RemoteAccessControlManagerinterface. This class makes a remote AccessControlManager locally available using the JCRAccessControlManagerinterface.- See Also:
AccessControlManager,RemoteAccessControlManager
-
-
Constructor Summary
Constructors Constructor Description ClientAccessControlManager(RemoteAccessControlManager racm, LocalAdapterFactory factory)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AccessControlPolicyIteratorgetApplicablePolicies(String absPath)Deprecated.AccessControlPolicy[]getEffectivePolicies(String absPath)Deprecated.AccessControlPolicy[]getPolicies(String absPath)Deprecated.Privilege[]getPrivileges(String absPath)Deprecated.Privilege[]getSupportedPrivileges(String absPath)Deprecated.booleanhasPrivileges(String absPath, Privilege[] privileges)Deprecated.PrivilegeprivilegeFromName(String privilegeName)Deprecated.voidremovePolicy(String absPath, AccessControlPolicy policy)Deprecated.voidsetPolicy(String absPath, AccessControlPolicy policy)Deprecated.-
Methods inherited from class org.apache.jackrabbit.rmi.client.ClientObject
getFactory, getItem, getNode, getNodeTypeArray
-
-
-
-
Constructor Detail
-
ClientAccessControlManager
public ClientAccessControlManager(RemoteAccessControlManager racm, LocalAdapterFactory factory)
Deprecated.
-
-
Method Detail
-
getApplicablePolicies
public AccessControlPolicyIterator getApplicablePolicies(String absPath) throws RepositoryException
Deprecated.- Specified by:
getApplicablePoliciesin interfaceAccessControlManager- Throws:
RepositoryException
-
getEffectivePolicies
public AccessControlPolicy[] getEffectivePolicies(String absPath) throws PathNotFoundException, AccessDeniedException, RepositoryException
Deprecated.- Specified by:
getEffectivePoliciesin interfaceAccessControlManager- Throws:
PathNotFoundExceptionAccessDeniedExceptionRepositoryException
-
getPolicies
public AccessControlPolicy[] getPolicies(String absPath) throws PathNotFoundException, AccessDeniedException, RepositoryException
Deprecated.- Specified by:
getPoliciesin interfaceAccessControlManager- Throws:
PathNotFoundExceptionAccessDeniedExceptionRepositoryException
-
getPrivileges
public Privilege[] getPrivileges(String absPath) throws PathNotFoundException, RepositoryException
Deprecated.- Specified by:
getPrivilegesin interfaceAccessControlManager- Throws:
PathNotFoundExceptionRepositoryException
-
getSupportedPrivileges
public Privilege[] getSupportedPrivileges(String absPath) throws PathNotFoundException, RepositoryException
Deprecated.- Specified by:
getSupportedPrivilegesin interfaceAccessControlManager- Throws:
PathNotFoundExceptionRepositoryException
-
hasPrivileges
public boolean hasPrivileges(String absPath, Privilege[] privileges) throws PathNotFoundException, RepositoryException
Deprecated.- Specified by:
hasPrivilegesin interfaceAccessControlManager- Throws:
PathNotFoundExceptionRepositoryException
-
privilegeFromName
public Privilege privilegeFromName(String privilegeName) throws AccessControlException, RepositoryException
Deprecated.- Specified by:
privilegeFromNamein interfaceAccessControlManager- Throws:
AccessControlExceptionRepositoryException
-
removePolicy
public void removePolicy(String absPath, AccessControlPolicy policy) throws UnsupportedRepositoryOperationException
Deprecated.- Specified by:
removePolicyin interfaceAccessControlManager- Throws:
UnsupportedRepositoryOperationException- This method is not implemented yet
-
setPolicy
public void setPolicy(String absPath, AccessControlPolicy policy) throws UnsupportedRepositoryOperationException
Deprecated.- Specified by:
setPolicyin interfaceAccessControlManager- Throws:
UnsupportedRepositoryOperationException- This method is not implemented yet
-
-