public class SAEPrincipal extends Object implements Principal, Serializable
Constructor and Description |
---|
SAEPrincipal(String name) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Compares the specified Object with this
SAEPrincipal
for equality. |
String |
getName()
Returns the username for this
SAEPrincipal . |
int |
hashCode()
Returns a hash code for this
SAEPrincipal . |
String |
toString()
Returns a string representation of this
SAEPrincipal . |
public SAEPrincipal(String name)
public String getName()
SAEPrincipal
.
public String toString()
SAEPrincipal
.
public boolean equals(Object o)
SAEPrincipal
for equality. Returns true if the given object is also a
SAEPrincipal
and the two SAEPrincipals
have the same username.
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.