Home » geronimo-2.2-source-release » org.apache.geronimo.security.realm.providers » [javadoc | source]
public class: GeronimoUserPrincipal [javadoc | source]

All Implemented Interfaces:
    Principal, GeronimoCallerPrincipal, Serializable

A principal that represents a user for the login modules distributed with Geronimo. Custom login modules may use this if convenient or provide their own Principal implementations -- it doesn't matter.
 public GeronimoUserPrincipal(String name) 
Method from org.apache.geronimo.security.realm.providers.GeronimoUserPrincipal Summary:
equals,   getName,   hashCode,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.geronimo.security.realm.providers.GeronimoUserPrincipal Detail:
 public boolean equals(Object another) 
    Compares this principal to the specified object. Returns true if the object passed in is a GeronimoUserPrincipal with the same name.
 public String getName() 
    Returns the name of this principal.
 public int hashCode() 
    Returns a hashcode for this principal.
 public String toString() 
    Returns a string representation of this principal.