org.apache.jackrabbit.rmi.server.security
Class ServerAccessControlManager

java.lang.Object
  extended by java.rmi.server.RemoteObject
      extended by java.rmi.server.RemoteServer
          extended by java.rmi.server.UnicastRemoteObject
              extended by org.apache.jackrabbit.rmi.server.ServerObject
                  extended by org.apache.jackrabbit.rmi.server.security.ServerAccessControlManager
All Implemented Interfaces:
Serializable, Remote, RemoteAccessControlManager

public class ServerAccessControlManager
extends ServerObject
implements RemoteAccessControlManager

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
ServerAccessControlManager(AccessControlManager acm, RemoteAdapterFactory factory)
           
 
Method Summary
 RemoteIterator getApplicablePolicies(String absPath)
           
 RemoteAccessControlPolicy[] getEffectivePolicies(String absPath)
           
 RemoteAccessControlPolicy[] getPolicies(String absPath)
           
 RemotePrivilege[] getPrivileges(String absPath)
           
 RemotePrivilege[] getSupportedPrivileges(String absPath)
           
 boolean hasPrivileges(String absPath, String[] privileges)
           
 RemotePrivilege privilegeFromName(String privilegeName)
           
 
Methods inherited from class org.apache.jackrabbit.rmi.server.ServerObject
getFactory, getRemoteItem, getRemoteNode, getRemoteNodeTypeArray, getRepositoryException, getSerialValue, getSerialValues
 
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
 

Constructor Detail

ServerAccessControlManager

public ServerAccessControlManager(AccessControlManager acm,
                                  RemoteAdapterFactory factory)
                           throws RemoteException
Throws:
RemoteException
Method Detail

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.