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