|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.rmi.client.ClientObject
org.apache.jackrabbit.rmi.client.security.ClientAccessControlManager
public class ClientAccessControlManager
Local adapter for the JCR-RMI RemoteAccessControlManager interface. This class makes a remote
AccessControlManager locally available using the JCR
AccessControlManager interface.
AccessControlManager,
RemoteAccessControlManager| Constructor Summary | |
|---|---|
ClientAccessControlManager(RemoteAccessControlManager racm,
LocalAdapterFactory factory)
|
|
| Method Summary | |
|---|---|
AccessControlPolicyIterator |
getApplicablePolicies(String absPath)
|
AccessControlPolicy[] |
getEffectivePolicies(String absPath)
|
AccessControlPolicy[] |
getPolicies(String absPath)
|
Privilege[] |
getPrivileges(String absPath)
|
Privilege[] |
getSupportedPrivileges(String absPath)
|
boolean |
hasPrivileges(String absPath,
Privilege[] privileges)
|
Privilege |
privilegeFromName(String privilegeName)
|
void |
removePolicy(String absPath,
AccessControlPolicy policy)
|
void |
setPolicy(String absPath,
AccessControlPolicy policy)
|
| Methods inherited from class org.apache.jackrabbit.rmi.client.ClientObject |
|---|
getFactory, getItem, getNode, getNodeTypeArray |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClientAccessControlManager(RemoteAccessControlManager racm,
LocalAdapterFactory factory)
| Method Detail |
|---|
public AccessControlPolicyIterator getApplicablePolicies(String absPath)
throws RepositoryException
getApplicablePolicies in interface AccessControlManagerRepositoryException
public AccessControlPolicy[] getEffectivePolicies(String absPath)
throws PathNotFoundException,
AccessDeniedException,
RepositoryException
getEffectivePolicies in interface AccessControlManagerPathNotFoundException
AccessDeniedException
RepositoryException
public AccessControlPolicy[] getPolicies(String absPath)
throws PathNotFoundException,
AccessDeniedException,
RepositoryException
getPolicies in interface AccessControlManagerPathNotFoundException
AccessDeniedException
RepositoryException
public Privilege[] getPrivileges(String absPath)
throws PathNotFoundException,
RepositoryException
getPrivileges in interface AccessControlManagerPathNotFoundException
RepositoryException
public Privilege[] getSupportedPrivileges(String absPath)
throws PathNotFoundException,
RepositoryException
getSupportedPrivileges in interface AccessControlManagerPathNotFoundException
RepositoryException
public boolean hasPrivileges(String absPath,
Privilege[] privileges)
throws PathNotFoundException,
RepositoryException
hasPrivileges in interface AccessControlManagerPathNotFoundException
RepositoryException
public Privilege privilegeFromName(String privilegeName)
throws AccessControlException,
RepositoryException
privilegeFromName in interface AccessControlManagerAccessControlException
RepositoryException
public void removePolicy(String absPath,
AccessControlPolicy policy)
throws UnsupportedRepositoryOperationException
removePolicy in interface AccessControlManagerUnsupportedRepositoryOperationException - This method is not
implemented yet
public void setPolicy(String absPath,
AccessControlPolicy policy)
throws UnsupportedRepositoryOperationException
setPolicy in interface AccessControlManagerUnsupportedRepositoryOperationException - This method is not
implemented yet
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||