org.apache.jackrabbit.rmi.client.security
Class ClientAccessControlList

java.lang.Object
  extended by org.apache.jackrabbit.rmi.client.ClientObject
      extended by org.apache.jackrabbit.rmi.client.security.ClientAccessControlPolicy
          extended by org.apache.jackrabbit.rmi.client.security.ClientAccessControlList
All Implemented Interfaces:
AccessControlList, AccessControlPolicy

public class ClientAccessControlList
extends ClientAccessControlPolicy
implements AccessControlList

Local adapter for the JCR-RMI RemoteAccessControlList interface. This class makes a remote AccessControlList locally available using the JCR AccessControlList interface.

See Also:
AccessControlList, RemoteAccessControlList

Constructor Summary
ClientAccessControlList(RemoteAccessControlList racl, LocalAdapterFactory factory)
           
 
Method Summary
 boolean addAccessControlEntry(Principal principal, Privilege[] privileges)
           
 AccessControlEntry[] getAccessControlEntries()
          
 void removeAccessControlEntry(AccessControlEntry ace)
           
 
Methods inherited from class org.apache.jackrabbit.rmi.client.ClientObject
getFactory, getItem, getNode, getNodeTypeArray
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientAccessControlList

public ClientAccessControlList(RemoteAccessControlList racl,
                               LocalAdapterFactory factory)
Method Detail

addAccessControlEntry

public boolean addAccessControlEntry(Principal principal,
                                     Privilege[] privileges)
                              throws UnsupportedRepositoryOperationException
Specified by:
addAccessControlEntry in interface AccessControlList
Throws:
UnsupportedRepositoryOperationException - This method is not implemented yet

getAccessControlEntries

public AccessControlEntry[] getAccessControlEntries()
                                             throws RepositoryException

Specified by:
getAccessControlEntries in interface AccessControlList
Throws:
RepositoryException

removeAccessControlEntry

public void removeAccessControlEntry(AccessControlEntry ace)
                              throws UnsupportedRepositoryOperationException
Specified by:
removeAccessControlEntry in interface AccessControlList
Throws:
UnsupportedRepositoryOperationException - This method is not implemented yet


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