org.apache.jackrabbit.rmi.server.security
Class ServerAccessControlManager
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
org.apache.jackrabbit.rmi.server.ServerObject
org.apache.jackrabbit.rmi.server.security.ServerAccessControlManager
- All Implemented Interfaces:
- Serializable, Remote, RemoteAccessControlManager
public class ServerAccessControlManager
- extends ServerObject
- implements RemoteAccessControlManager
- See Also:
- Serialized Form
ServerAccessControlManager
public ServerAccessControlManager(AccessControlManager acm,
RemoteAdapterFactory factory)
throws RemoteException
- Throws:
RemoteException
getApplicablePolicies
public RemoteIterator getApplicablePolicies(String absPath)
throws RepositoryException,
RemoteException
- Specified by:
getApplicablePolicies
in interface RemoteAccessControlManager
- Throws:
RepositoryException
RemoteException
- See Also:
AccessControlManager.getApplicablePolicies(String)
getEffectivePolicies
public RemoteAccessControlPolicy[] getEffectivePolicies(String absPath)
throws RepositoryException,
RemoteException
- Specified by:
getEffectivePolicies
in interface RemoteAccessControlManager
- Throws:
RepositoryException
RemoteException
- See Also:
AccessControlManager.getEffectivePolicies(String)
getPolicies
public RemoteAccessControlPolicy[] getPolicies(String absPath)
throws RepositoryException,
RemoteException
- Specified by:
getPolicies
in interface RemoteAccessControlManager
- Throws:
RepositoryException
RemoteException
- See Also:
AccessControlManager.getPolicies(String)
getPrivileges
public RemotePrivilege[] getPrivileges(String absPath)
throws RepositoryException,
RemoteException
- Specified by:
getPrivileges
in interface RemoteAccessControlManager
- Throws:
RepositoryException
RemoteException
- See Also:
AccessControlManager.getPrivileges(String)
getSupportedPrivileges
public RemotePrivilege[] getSupportedPrivileges(String absPath)
throws RepositoryException,
RemoteException
- Specified by:
getSupportedPrivileges
in interface RemoteAccessControlManager
- Throws:
RepositoryException
RemoteException
- See Also:
AccessControlManager.getSupportedPrivileges(String)
hasPrivileges
public boolean hasPrivileges(String absPath,
String[] privileges)
throws RepositoryException
- Specified by:
hasPrivileges
in interface RemoteAccessControlManager
- Throws:
RepositoryException
- See Also:
AccessControlManager.hasPrivileges(String,
javax.jcr.security.Privilege[])
privilegeFromName
public RemotePrivilege privilegeFromName(String privilegeName)
throws RepositoryException,
RemoteException
- Specified by:
privilegeFromName
in interface RemoteAccessControlManager
- Throws:
RepositoryException
RemoteException
- See Also:
AccessControlManager.privilegeFromName(String)
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.