public class HTTPBasicPrincipal extends Object implements Principal, Serializable
| Constructor and Description |
|---|
HTTPBasicPrincipal(String name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Compares the specified Object with this
HTTPBasicPrincipal
for equality. |
String |
getName()
Returns the LDAP username for this
HTTPBasicPrincipal. |
int |
hashCode()
Returns a hash code for this
HTTPBasicPrincipal. |
String |
toString()
Returns a string representation of this
HTTPBasicPrincipal. |
public HTTPBasicPrincipal(String name)
public String getName()
HTTPBasicPrincipal.public String toString()
HTTPBasicPrincipal.public boolean equals(Object o)
HTTPBasicPrincipal
for equality. Returns true if the given object is also a
HTTPBasicPrincipal and the two
HTTPBasicPrincipals have the same user name.Copyright © 2010–2024 Open Identity Platform Community. All rights reserved.