public class SSOTokenPrincipal extends Object implements Principal, Serializable
SSOToken
,
which can be used to represent any entity, such as an individual, a
corporation, and a login id.Constructor and Description |
---|
SSOTokenPrincipal(String name)
Creates
SSOTokenPrincipal object |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Compares the specified Object with this
LDAPPrincipal
for equality. |
String |
getName()
Returns the user name for this
SSOTokenPrincipal . |
int |
hashCode()
Returns a hash code for this
SSOTokenPrincipal . |
String |
toString()
Returns a string representation of this
SSOTokenPrincipal . |
public SSOTokenPrincipal(String name)
SSOTokenPrincipal
objectname
- representing pricipal for SSOToken
public String getName()
SSOTokenPrincipal
.public String toString()
SSOTokenPrincipal
.public boolean equals(Object o)
LDAPPrincipal
for equality. Returns true
if the given object is also a
LDAPPrincipal
and the two LDAPPrincipal
s
have the same username.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.