Class DataStorePrincipal
- java.lang.Object
-
- com.sun.identity.authentication.modules.datastore.DataStorePrincipal
-
- All Implemented Interfaces:
Serializable,Principal
public class DataStorePrincipal extends Object implements Principal, Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DataStorePrincipal(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Compares the specified Object with thisDataStorePrincipalfor equality.StringgetName()Returns the user name for thisDataStorePrincipal.inthashCode()Returns a hash code for thisDataStorePrincipal.StringtoString()Returns a string representation of thisDataStorePrincipal.
-
-
-
Constructor Detail
-
DataStorePrincipal
public DataStorePrincipal(String name)
-
-
Method Detail
-
getName
public String getName()
Returns the user name for thisDataStorePrincipal.
-
toString
public String toString()
Returns a string representation of thisDataStorePrincipal.
-
equals
public boolean equals(Object o)
Compares the specified Object with thisDataStorePrincipalfor equality. Returnstrueif the given object is also aDataStorePrincipaland the two DataStorePrincipals have the same user name.
-
-