BasicAuthenticationCredential extends UsernamePasswordCredential
to represent credentials used by HTTP Basic Authentication.
| Access | Constructor and Description |
|---|---|
| public | BasicAuthenticationCredential(String
HTTP Basic Authentication header authorizationHeader)Constructor |
| Modifier and Type | Method and Description |
|---|---|
| private static String | Returns: The decoded headerThe encoded header authorizationHeader)Utility for decoding the HTTP Basic Authentication header. |
| private static Password | Returns: The passwordThe encoded header authorizationHeader)Utility for parsing the HTTP Basic Authentication password. |
| private static String | Returns: The usernameThe encoded header authorizationHeader)Utility for parsing the HTTP Basic Authentication username. |
| BasicAuthenticationCredential | back to summary |
|---|---|
| public BasicAuthenticationCredential(String authorizationHeader) Constructor
| |
| decodeHeader | back to summary |
|---|---|
| private static String decodeHeader(String authorizationHeader) Utility for decoding the HTTP Basic Authentication header. | |
| parsePassword | back to summary |
|---|---|
| private static Password parsePassword(String authorizationHeader) Utility for parsing the HTTP Basic Authentication password. | |
| parseUsername | back to summary |
|---|---|
| private static String parseUsername(String authorizationHeader) Utility for parsing the HTTP Basic Authentication username. | |