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