Class SecurIDPrincipal
- java.lang.Object
-
- com.sun.identity.authentication.modules.securid.SecurIDPrincipal
-
- All Implemented Interfaces:
Serializable
,Principal
public class SecurIDPrincipal extends Object implements Principal, Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SecurIDPrincipal(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Compares the specified Object with thisSecurIDPrincipal
for equality.String
getName()
Return the SecurID username for thisSecurIDPrincipal
.int
hashCode()
Return a hash code for thisSecurIDPrincipal
.String
toString()
Return a string representation of thisSecurIDPrincipal
.
-
-
-
Constructor Detail
-
SecurIDPrincipal
public SecurIDPrincipal(String name)
-
-
Method Detail
-
getName
public String getName()
Return the SecurID username for thisSecurIDPrincipal
.
-
toString
public String toString()
Return a string representation of thisSecurIDPrincipal
.
-
equals
public boolean equals(Object o)
Compares the specified Object with thisSecurIDPrincipal
for equality. Returns true if the given object is also aSecurIDPrincipal
and the two SecurIDPrincipals have the same username.
-
-