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