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