|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.securityfilter.realm.SimplePrincipal
SimplePrincipal - a simple, serializable Principal.
| Constructor Summary | |
SimplePrincipal(String name)
Constructor |
|
| Method Summary | |
boolean |
equals(Object obj)
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 SimplePrincipal(String name)
| Method Detail |
public String getName()
getName in interface Principalpublic boolean equals(Object obj)
equals in interface Principalobj - object to compare with.
public String toString()
toString in interface Principalpublic int hashCode()
hashCode in interface Principal
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||