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, getNodeTypeArray
public ClientAccessControlManager(RemoteAccessControlManager racm, LocalAdapterFactory factory)
public AccessControlPolicyIterator getApplicablePolicies(String absPath) throws RepositoryException
getApplicablePolicies
in interface AccessControlManager
RepositoryException
public AccessControlPolicy[] getEffectivePolicies(String absPath) throws PathNotFoundException, AccessDeniedException, RepositoryException
getEffectivePolicies
in interface AccessControlManager
PathNotFoundException
AccessDeniedException
RepositoryException
public AccessControlPolicy[] getPolicies(String absPath) throws PathNotFoundException, AccessDeniedException, RepositoryException
getPolicies
in interface AccessControlManager
PathNotFoundException
AccessDeniedException
RepositoryException
public Privilege[] getPrivileges(String absPath) throws PathNotFoundException, RepositoryException
getPrivileges
in interface AccessControlManager
PathNotFoundException
RepositoryException
public Privilege[] getSupportedPrivileges(String absPath) throws PathNotFoundException, RepositoryException
getSupportedPrivileges
in interface AccessControlManager
PathNotFoundException
RepositoryException
public boolean hasPrivileges(String absPath, Privilege[] privileges) throws PathNotFoundException, RepositoryException
hasPrivileges
in interface AccessControlManager
PathNotFoundException
RepositoryException
public Privilege privilegeFromName(String privilegeName) throws AccessControlException, RepositoryException
privilegeFromName
in interface AccessControlManager
AccessControlException
RepositoryException
public void removePolicy(String absPath, AccessControlPolicy policy) throws UnsupportedRepositoryOperationException
removePolicy
in interface AccessControlManager
UnsupportedRepositoryOperationException
- This method is not
implemented yetpublic void setPolicy(String absPath, AccessControlPolicy policy) throws UnsupportedRepositoryOperationException
setPolicy
in interface AccessControlManager
UnsupportedRepositoryOperationException
- This method is not
implemented yetCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.