|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.idoox.security.WASPPrincipal
This class represents an entity whose identity * can be authenticated by WASP. * * @since 4.0
| Constructor Summary | |
WASPPrincipal(java.lang.String name)
Creates new instance with given name. |
|
| Method Summary | |
boolean |
equals(java.lang.Object another)
Compares this principal to the specified object. |
java.lang.String |
getName()
Returns the name of this principal. |
int |
hashCode()
Gets the hash code of this. |
java.lang.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 WASPPrincipal(java.lang.String name)
| Method Detail |
public boolean equals(java.lang.Object another)
equals in interface java.security.Principalpublic java.lang.String toString()
toString in interface java.security.Principalpublic java.lang.String getName()
getName in interface java.security.Principalpublic int hashCode()
getName().hashCode()
hashCode in interface java.security.Principal
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||