|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sourceforge.jradiusclient.jaas.RadiusPrincipal
Constructor Summary | |
RadiusPrincipal(java.lang.String name)
Constructs RadiusPrincipal objects |
Method Summary | |
boolean |
equals(java.lang.Object object)
Compares the specified Object with this RadiusPrincipal
for equality. |
java.lang.String |
getName()
Gets the name of this RadiusPrincipal |
int |
hashCode()
|
java.lang.String |
toString()
This method returns a string representation of this RadiusPrincipal . |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public RadiusPrincipal(java.lang.String name)
name
- java.lang.String The name of this principalMethod Detail |
public java.lang.String getName()
RadiusPrincipal
getName
in interface java.security.Principal
RadiusPrincipal
public java.lang.String toString()
RadiusPrincipal
.
toString
in interface java.security.Principal
toString
in class java.lang.Object
RadiusPrincipal
.public boolean equals(java.lang.Object object)
RadiusPrincipal
for equality. Returns true if the given object is also a
RadiusPrincipal
and the two RadiusPrincipal
have the same username.
equals
in interface java.security.Principal
equals
in class java.lang.Object
object
- Object to be compared for equality with this
RadiusPrincipal
.
RadiusPrincipal
.public int hashCode()
hashCode
in interface java.security.Principal
hashCode
in class java.lang.Object
RadiusPrincipal
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |