org.apache.jackrabbit.rmi.client.principal
Class ClientGroup

java.lang.Object
  extended by org.apache.jackrabbit.rmi.client.principal.ClientPrincipal
      extended by org.apache.jackrabbit.rmi.client.principal.ClientGroup
All Implemented Interfaces:
java.security.acl.Group, java.security.Principal

public class ClientGroup
extends ClientPrincipal
implements java.security.acl.Group

Local adapter for the JCR-RMI RemoteGroup interface. This class makes a remote group locally available using the Java Group interface.

See Also:
Group, RemoteGroup

Constructor Summary
ClientGroup(RemotePrincipal p, LocalAdapterFactory factory)
           
 
Method Summary
 boolean addMember(java.security.Principal user)
           
 boolean isMember(java.security.Principal member)
           
 java.util.Enumeration<? extends java.security.Principal> members()
          
 boolean removeMember(java.security.Principal user)
           
 
Methods inherited from class org.apache.jackrabbit.rmi.client.principal.ClientPrincipal
getName, getRemotePrincipal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.security.Principal
equals, getName, hashCode, toString
 

Constructor Detail

ClientGroup

public ClientGroup(RemotePrincipal p,
                   LocalAdapterFactory factory)
Method Detail

addMember

public boolean addMember(java.security.Principal user)
Specified by:
addMember in interface java.security.acl.Group
Throws:
UnsupportedRepositoryOperationException - This method is not implemented yet

isMember

public boolean isMember(java.security.Principal member)
Specified by:
isMember in interface java.security.acl.Group
Throws:
UnsupportedRepositoryOperationException - This method is not implemented yet

members

public java.util.Enumeration<? extends java.security.Principal> members()

Specified by:
members in interface java.security.acl.Group

removeMember

public boolean removeMember(java.security.Principal user)
Specified by:
removeMember in interface java.security.acl.Group
Throws:
UnsupportedRepositoryOperationException - This method is not implemented yet


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