Class SSOTokenPrincipal
- java.lang.Object
-
- com.sun.identity.authentication.service.SSOTokenPrincipal
-
- All Implemented Interfaces:
Serializable,Principal
public class SSOTokenPrincipal extends Object implements Principal, Serializable
This class represents the abstract notion of aSSOToken, which can be used to represent any entity, such as an individual, a corporation, and a login id.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SSOTokenPrincipal(String name)CreatesSSOTokenPrincipalobject
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Compares the specified Object with thisLDAPPrincipalfor equality.StringgetName()Returns the user name for thisSSOTokenPrincipal.inthashCode()Returns a hash code for thisSSOTokenPrincipal.StringtoString()Returns a string representation of thisSSOTokenPrincipal.
-
-
-
Constructor Detail
-
SSOTokenPrincipal
public SSOTokenPrincipal(String name)
CreatesSSOTokenPrincipalobject- Parameters:
name- representing pricipal forSSOToken
-
-
Method Detail
-
getName
public String getName()
Returns the user name for thisSSOTokenPrincipal.
-
toString
public String toString()
Returns a string representation of thisSSOTokenPrincipal.
-
equals
public boolean equals(Object o)
Compares the specified Object with thisLDAPPrincipalfor equality. Returnstrueif the given object is also aLDAPPrincipaland the twoLDAPPrincipals have the same username.
-
-