Local adapter for the JCR-RMI RemoteAccessControlManager interface. This class makes a remote
AccessControlManager locally available using the JCR
AccessControlManager interface.
@Deprecated public class ClientAccessControlManager extends ClientObject implements AccessControlManager
AccessControlManager,
RemoteAccessControlManager| Constructor and Description |
|---|
ClientAccessControlManager(RemoteAccessControlManager racm,
LocalAdapterFactory factory)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
AccessControlPolicyIterator |
getApplicablePolicies(String absPath)
Deprecated.
|
AccessControlPolicy[] |
getEffectivePolicies(String absPath)
Deprecated.
|
AccessControlPolicy[] |
getPolicies(String absPath)
Deprecated.
|
Privilege[] |
getPrivileges(String absPath)
Deprecated.
|
Privilege[] |
getSupportedPrivileges(String absPath)
Deprecated.
|
boolean |
hasPrivileges(String absPath,
Privilege[] privileges)
Deprecated.
|
Privilege |
privilegeFromName(String privilegeName)
Deprecated.
|
void |
removePolicy(String absPath,
AccessControlPolicy policy)
Deprecated.
|
void |
setPolicy(String absPath,
AccessControlPolicy policy)
Deprecated.
|
getFactory, getItem, getNode, getNodeTypeArraypublic ClientAccessControlManager(RemoteAccessControlManager racm, LocalAdapterFactory factory)
public AccessControlPolicyIterator getApplicablePolicies(String absPath) throws RepositoryException
getApplicablePolicies in interface AccessControlManagerRepositoryExceptionpublic AccessControlPolicy[] getEffectivePolicies(String absPath) throws PathNotFoundException, AccessDeniedException, RepositoryException
getEffectivePolicies in interface AccessControlManagerPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionpublic AccessControlPolicy[] getPolicies(String absPath) throws PathNotFoundException, AccessDeniedException, RepositoryException
getPolicies in interface AccessControlManagerPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionpublic Privilege[] getPrivileges(String absPath) throws PathNotFoundException, RepositoryException
getPrivileges in interface AccessControlManagerPathNotFoundExceptionRepositoryExceptionpublic Privilege[] getSupportedPrivileges(String absPath) throws PathNotFoundException, RepositoryException
getSupportedPrivileges in interface AccessControlManagerPathNotFoundExceptionRepositoryExceptionpublic boolean hasPrivileges(String absPath, Privilege[] privileges) throws PathNotFoundException, RepositoryException
hasPrivileges in interface AccessControlManagerPathNotFoundExceptionRepositoryExceptionpublic Privilege privilegeFromName(String privilegeName) throws AccessControlException, RepositoryException
privilegeFromName in interface AccessControlManagerAccessControlExceptionRepositoryExceptionpublic void removePolicy(String absPath, AccessControlPolicy policy) throws UnsupportedRepositoryOperationException
removePolicy in interface AccessControlManagerUnsupportedRepositoryOperationException - This method is not
implemented yetpublic void setPolicy(String absPath, AccessControlPolicy policy) throws UnsupportedRepositoryOperationException
setPolicy in interface AccessControlManagerUnsupportedRepositoryOperationException - This method is not
implemented yetCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.