Save This Page
Home » jboss-5.0.0.CR1-src » org » jboss » security » [javadoc | source]
org.jboss.security
public class: SimplePrincipal [javadoc | source]
java.lang.Object
   org.jboss.security.SimplePrincipal

All Implemented Interfaces:
    Principal, Serializable

Direct Known Subclasses:
    SimpleGroup, NestableGroup, NestablePrincipal, SRPPrincipal

A simple String based implementation of Principal. Typically a SimplePrincipal is created given a userID which is used as the Principal name.
Constructor:
 public SimplePrincipal(String name) 
Method from org.jboss.security.SimplePrincipal Summary:
equals,   getName,   hashCode,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.security.SimplePrincipal Detail:
 public boolean equals(Object another) 
    Compare this SimplePrincipal's name against another Principal
 public String getName() 
 public int hashCode() 
 public String toString()