org.apache.jackrabbit.rmi.remote.security
Interface RemoteAccessControlManager

All Superinterfaces:
Remote
All Known Implementing Classes:
ServerAccessControlManager

public interface RemoteAccessControlManager
extends Remote

Remote version of the JCR AccessControlManager interface. Used by the ServerAccessControlManager and ClientAccessControlManager adapter base classes to provide transparent RMI access to remote item definitions.

The methods in this interface are documented only with a reference to a corresponding AccessControlManager method. The remote object will simply forward the method call to the underlying AccessControlManager instance. Argument and return values, as well as possible exceptions, are copied over the network. Complex return values are returned as remote references to the corresponding remote interface. RMI errors are signaled with RemoteExceptions.

See Also:
AccessControlManager, ClientAccessControlManager, ServerAccessControlManager

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)
           
 

Method Detail

getApplicablePolicies

RemoteIterator getApplicablePolicies(String absPath)
                                     throws RepositoryException,
                                            RemoteException
Throws:
RepositoryException
RemoteException
See Also:
AccessControlManager.getApplicablePolicies(String)

getEffectivePolicies

RemoteAccessControlPolicy[] getEffectivePolicies(String absPath)
                                                 throws RepositoryException,
                                                        RemoteException
Throws:
RepositoryException
RemoteException
See Also:
AccessControlManager.getEffectivePolicies(String)

getPolicies

RemoteAccessControlPolicy[] getPolicies(String absPath)
                                        throws RepositoryException,
                                               RemoteException
Throws:
RepositoryException
RemoteException
See Also:
AccessControlManager.getPolicies(String)

getPrivileges

RemotePrivilege[] getPrivileges(String absPath)
                                throws RepositoryException,
                                       RemoteException
Throws:
RepositoryException
RemoteException
See Also:
AccessControlManager.getPrivileges(String)

getSupportedPrivileges

RemotePrivilege[] getSupportedPrivileges(String absPath)
                                         throws RepositoryException,
                                                RemoteException
Throws:
RepositoryException
RemoteException
See Also:
AccessControlManager.getSupportedPrivileges(String)

privilegeFromName

RemotePrivilege privilegeFromName(String privilegeName)
                                  throws RepositoryException,
                                         RemoteException
Throws:
RepositoryException
RemoteException
See Also:
AccessControlManager.privilegeFromName(String)

hasPrivileges

boolean hasPrivileges(String absPath,
                      String[] privileges)
                      throws RepositoryException,
                             RemoteException
Throws:
RepositoryException
RemoteException
See Also:
AccessControlManager.hasPrivileges(String, javax.jcr.security.Privilege[])


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.