org.apache.servicemix.jbi.security
Class GroupPrincipal

java.lang.Object
  extended by org.apache.servicemix.jbi.security.GroupPrincipal
All Implemented Interfaces:
Serializable, Principal

public class GroupPrincipal
extends Object
implements Principal, Serializable

This principal represents a group against which authorizations are usually checked.

See Also:
Serialized Form

Field Summary
static GroupPrincipal ANY
           
 
Constructor Summary
GroupPrincipal(String name)
           
 
Method Summary
 boolean equals(Object o)
           
 String getName()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ANY

public static final GroupPrincipal ANY
Constructor Detail

GroupPrincipal

public GroupPrincipal(String name)
Method Detail

getName

public String getName()
Specified by:
getName in interface Principal

equals

public boolean equals(Object o)
Specified by:
equals in interface Principal
Overrides:
equals in class Object

hashCode

public int hashCode()
Specified by:
hashCode in interface Principal
Overrides:
hashCode in class Object

toString

public String toString()
Specified by:
toString in interface Principal
Overrides:
toString in class Object


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