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