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