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