Class ClientAccessControlManager
- java.lang.Object
-
- org.apache.jackrabbit.rmi.client.ClientObject
-
- org.apache.jackrabbit.rmi.client.security.ClientAccessControlManager
-
- All Implemented Interfaces:
AccessControlManager
@Deprecated(forRemoval=true) public class ClientAccessControlManager extends ClientObject implements AccessControlManager
Deprecated, for removal: This API element is subject to removal in a future version.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
RemoteAccessControlManager
interface. This class makes a remote AccessControlManager locally available using the JCRAccessControlManager
interface.- See Also:
AccessControlManager
,RemoteAccessControlManager
-
-
Constructor Summary
Constructors Constructor Description ClientAccessControlManager(RemoteAccessControlManager racm, LocalAdapterFactory factory)
Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AccessControlPolicyIterator
getApplicablePolicies(String absPath)
Deprecated, for removal: This API element is subject to removal in a future version.AccessControlPolicy[]
getEffectivePolicies(String absPath)
Deprecated, for removal: This API element is subject to removal in a future version.AccessControlPolicy[]
getPolicies(String absPath)
Deprecated, for removal: This API element is subject to removal in a future version.Privilege[]
getPrivileges(String absPath)
Deprecated, for removal: This API element is subject to removal in a future version.Privilege[]
getSupportedPrivileges(String absPath)
Deprecated, for removal: This API element is subject to removal in a future version.boolean
hasPrivileges(String absPath, Privilege[] privileges)
Deprecated, for removal: This API element is subject to removal in a future version.Privilege
privilegeFromName(String privilegeName)
Deprecated, for removal: This API element is subject to removal in a future version.void
removePolicy(String absPath, AccessControlPolicy policy)
Deprecated, for removal: This API element is subject to removal in a future version.void
setPolicy(String absPath, AccessControlPolicy policy)
Deprecated, for removal: This API element is subject to removal in a future version.-
Methods inherited from class org.apache.jackrabbit.rmi.client.ClientObject
getFactory, getItem, getNode, getNodeTypeArray
-
-
-
-
Constructor Detail
-
ClientAccessControlManager
public ClientAccessControlManager(RemoteAccessControlManager racm, LocalAdapterFactory factory)
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Detail
-
getApplicablePolicies
public AccessControlPolicyIterator getApplicablePolicies(String absPath) throws RepositoryException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getApplicablePolicies
in interfaceAccessControlManager
- Throws:
RepositoryException
-
getEffectivePolicies
public AccessControlPolicy[] getEffectivePolicies(String absPath) throws PathNotFoundException, AccessDeniedException, RepositoryException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getEffectivePolicies
in interfaceAccessControlManager
- Throws:
PathNotFoundException
AccessDeniedException
RepositoryException
-
getPolicies
public AccessControlPolicy[] getPolicies(String absPath) throws PathNotFoundException, AccessDeniedException, RepositoryException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getPolicies
in interfaceAccessControlManager
- Throws:
PathNotFoundException
AccessDeniedException
RepositoryException
-
getPrivileges
public Privilege[] getPrivileges(String absPath) throws PathNotFoundException, RepositoryException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getPrivileges
in interfaceAccessControlManager
- Throws:
PathNotFoundException
RepositoryException
-
getSupportedPrivileges
public Privilege[] getSupportedPrivileges(String absPath) throws PathNotFoundException, RepositoryException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getSupportedPrivileges
in interfaceAccessControlManager
- Throws:
PathNotFoundException
RepositoryException
-
hasPrivileges
public boolean hasPrivileges(String absPath, Privilege[] privileges) throws PathNotFoundException, RepositoryException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
hasPrivileges
in interfaceAccessControlManager
- Throws:
PathNotFoundException
RepositoryException
-
privilegeFromName
public Privilege privilegeFromName(String privilegeName) throws AccessControlException, RepositoryException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
privilegeFromName
in interfaceAccessControlManager
- Throws:
AccessControlException
RepositoryException
-
removePolicy
public void removePolicy(String absPath, AccessControlPolicy policy) throws UnsupportedRepositoryOperationException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
removePolicy
in interfaceAccessControlManager
- Throws:
UnsupportedRepositoryOperationException
- This method is not implemented yet
-
setPolicy
public void setPolicy(String absPath, AccessControlPolicy policy) throws UnsupportedRepositoryOperationException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
setPolicy
in interfaceAccessControlManager
- Throws:
UnsupportedRepositoryOperationException
- This method is not implemented yet
-
-