Package org.apache.http.auth
Class BasicUserPrincipal
- java.lang.Object
-
- org.apache.http.auth.BasicUserPrincipal
-
- All Implemented Interfaces:
Serializable,Principal
@Contract(threading=IMMUTABLE) public final class BasicUserPrincipal extends Object implements Principal, Serializable
Basic user principal used for HTTP authentication- Since:
- 4.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BasicUserPrincipal(String username)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetName()inthashCode()StringtoString()
-