|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.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.Principal
equals
in class java.lang.Object
another
- Another Principal instancepublic java.lang.String getName()
getName
in interface java.security.Principal
public java.lang.String toString()
toString
in interface java.security.Principal
toString
in class java.lang.Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |