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:
- java.io.Serializable, java.rmi.Remote, RemoteAccessControlManager
public class ServerAccessControlManager
- extends ServerObject
- implements RemoteAccessControlManager
- See Also:
- Serialized Form
Fields inherited from class java.rmi.server.RemoteObject |
ref |
Methods inherited from class java.rmi.server.UnicastRemoteObject |
clone, exportObject, exportObject, exportObject, unexportObject |
Methods inherited from class java.rmi.server.RemoteServer |
getClientHost, getLog, setLog |
Methods inherited from class java.rmi.server.RemoteObject |
equals, getRef, hashCode, toString, toStub |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
ServerAccessControlManager
public ServerAccessControlManager(javax.jcr.security.AccessControlManager acm,
RemoteAdapterFactory factory)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
getApplicablePolicies
public RemoteIterator getApplicablePolicies(java.lang.String absPath)
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
- Specified by:
getApplicablePolicies
in interface RemoteAccessControlManager
- Throws:
javax.jcr.RepositoryException
java.rmi.RemoteException
- See Also:
AccessControlManager.getApplicablePolicies(String)
getEffectivePolicies
public RemoteAccessControlPolicy[] getEffectivePolicies(java.lang.String absPath)
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
- Specified by:
getEffectivePolicies
in interface RemoteAccessControlManager
- Throws:
javax.jcr.RepositoryException
java.rmi.RemoteException
- See Also:
AccessControlManager.getEffectivePolicies(String)
getPolicies
public RemoteAccessControlPolicy[] getPolicies(java.lang.String absPath)
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
- Specified by:
getPolicies
in interface RemoteAccessControlManager
- Throws:
javax.jcr.RepositoryException
java.rmi.RemoteException
- See Also:
AccessControlManager.getPolicies(String)
getPrivileges
public RemotePrivilege[] getPrivileges(java.lang.String absPath)
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
- Specified by:
getPrivileges
in interface RemoteAccessControlManager
- Throws:
javax.jcr.RepositoryException
java.rmi.RemoteException
- See Also:
AccessControlManager.getPrivileges(String)
getSupportedPrivileges
public RemotePrivilege[] getSupportedPrivileges(java.lang.String absPath)
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
- Specified by:
getSupportedPrivileges
in interface RemoteAccessControlManager
- Throws:
javax.jcr.RepositoryException
java.rmi.RemoteException
- See Also:
AccessControlManager.getSupportedPrivileges(String)
hasPrivileges
public boolean hasPrivileges(java.lang.String absPath,
java.lang.String[] privileges)
throws javax.jcr.RepositoryException
- Specified by:
hasPrivileges
in interface RemoteAccessControlManager
- Throws:
javax.jcr.RepositoryException
- See Also:
AccessControlManager.hasPrivileges(String,
javax.jcr.security.Privilege[])
privilegeFromName
public RemotePrivilege privilegeFromName(java.lang.String privilegeName)
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
- Specified by:
privilegeFromName
in interface RemoteAccessControlManager
- Throws:
javax.jcr.RepositoryException
java.rmi.RemoteException
- See Also:
AccessControlManager.privilegeFromName(String)
Copyright © 2004-2010 Apache Software Foundation. All Rights Reserved.