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 booleanequals(Object o)Compares the specified Object with thisSecurIDPrincipalfor equality.StringgetName()Return the SecurID username for thisSecurIDPrincipal.inthashCode()Return a hash code for thisSecurIDPrincipal.StringtoString()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 thisSecurIDPrincipalfor equality. Returns true if the given object is also aSecurIDPrincipaland the two SecurIDPrincipals have the same username.
-
-