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