|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.geronimo.security.realm.providers.GeronimoUserPrincipal
public class GeronimoUserPrincipal
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.
| Constructor Summary | |
|---|---|
GeronimoUserPrincipal(String name)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object another)
Compares this principal to the specified object. |
String |
getName()
Returns the name of this principal. |
int |
hashCode()
Returns a hashcode for this principal. |
String |
toString()
Returns a string representation of this principal. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GeronimoUserPrincipal(String name)
| Method Detail |
|---|
public boolean equals(Object another)
equals in interface Principalequals in class Objectpublic String toString()
toString in interface PrincipaltoString in class Objectpublic int hashCode()
hashCode in interface PrincipalhashCode in class Objectpublic String getName()
getName in interface Principal
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||