|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.tomcat.util.aaa.SimplePrincipal
| Constructor Summary | |
SimplePrincipal(java.lang.String name)
|
|
| Method Summary | |
boolean |
equals(java.lang.Object another)
Returns true if the specified Object represents the same principal (i.e. |
java.lang.String |
getName()
Returns the principal's name. |
java.lang.String |
toString()
Returns the principal's name. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.security.Principal |
hashCode |
| Constructor Detail |
public SimplePrincipal(java.lang.String name)
| Method Detail |
public boolean equals(java.lang.Object another)
equals in interface java.security.Principalanother - Another Principal instance
public java.lang.String getName()
getName in interface java.security.Principalpublic java.lang.String toString()
toString in interface java.security.Principal
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||