Class BasicCredentials
java.lang.Object
org.forgerock.http.header.authorization.BasicCredentials
A rich representation of basic credentials.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The name of theBasic
challenge scheme.static final CredentialsParser<BasicCredentials>
The parser forBasic
credentials. -
Constructor Summary
ConstructorDescriptionBasicCredentials
(String username, String password) Construct a new set ofBasic
authorization credentials. -
Method Summary
Modifier and TypeMethodDescriptionGet the password.Get the username.toString()
Get the string credentials in the specified charset.
-
Field Details
-
NAME
The name of theBasic
challenge scheme.- See Also:
-
PARSER
The parser forBasic
credentials.
-
-
Constructor Details
-
BasicCredentials
Construct a new set ofBasic
authorization credentials.- Parameters:
username
- The username.password
- The password.
-
-
Method Details