Authorization header of HTTP request for Basic Http Authentication scheme.
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public String | generateAuthorizationHeader(final URI
Uri of the server endpoint. uri, final String "WWW-Authenticate" header value received in a handshake
response. wwwAuthenticateHeader, final Credentials credentials passed by property credentials)ClientProperties#CREDENTIALS. Can be null when there were no Credentials registered.Implements abstract org. Generate value used as "Authorization" header value for next request. |
| private String |
| BasicAuthenticator | back to summary |
|---|---|
| pack-priv BasicAuthenticator() | |
| generateAuthorizationHeader | back to summary |
|---|---|
| public String generateAuthorizationHeader(final URI uri, final String wwwAuthenticateHeader, final Credentials credentials) throws AuthenticationException Implements abstract org. Doc from org. Generate value used as "Authorization" header value for next request.
Thrown
| |
| generateAuthorizationHeader | back to summary |
|---|---|
| private String generateAuthorizationHeader(final Credentials credentials) throws AuthenticationException | |