Class BasicCredentials
java.lang.Object
org.forgerock.http.header.authorization.BasicCredentials
A rich representation of basic credentials.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe name of theBasicchallenge scheme.static final CredentialsParser<BasicCredentials>The parser forBasiccredentials. -
Constructor Summary
ConstructorsConstructorDescriptionBasicCredentials(String username, String password) Construct a new set ofBasicauthorization 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 theBasicchallenge scheme.- See Also:
-
PARSER
The parser forBasiccredentials.
-
-
Constructor Details
-
BasicCredentials
Construct a new set ofBasicauthorization credentials.- Parameters:
username- The username.password- The password.
-
-
Method Details