Class AdaptivePrincipal
- java.lang.Object
-
- org.forgerock.openam.authentication.modules.adaptive.AdaptivePrincipal
-
- All Implemented Interfaces:
Serializable,Principal
public class AdaptivePrincipal extends Object implements Principal, Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AdaptivePrincipal(String name)TODO-JAVADOC
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Compares the specified Object with thisAdaptivePrincipalfor equality.StringgetName()Returns the VALid user name for thisVALid.inthashCode()StringtoString()Returns a string representation of thisAdaptivePrincipal.
-
-
-
Constructor Detail
-
AdaptivePrincipal
public AdaptivePrincipal(String name)
TODO-JAVADOC
-
-
Method Detail
-
getName
public String getName()
Returns the VALid user name for thisVALid.
-
toString
public String toString()
Returns a string representation of thisAdaptivePrincipal.
-
equals
public boolean equals(Object obj)
Compares the specified Object with thisAdaptivePrincipalfor equality. Returnstrueif the given object is also aAdaptivePrincipaland the twoAdaptivePrincipals have the same user name.
-
-