Modifier and Type | Class and Description |
---|---|
class |
BasicAuthCredentialsImpl
This implementation of the
BasicAuthCredentials interface compares
the secret (BasicAuthCredentialsImpl.getSecret() ) case sensitive but the username (
BasicAuthCredentialsImpl.getUserName() ) case insensitive with the BasicAuthCredentialsImpl.equals(Object)
method. |
Modifier and Type | Method and Description |
---|---|
default BasicAuthCredentials |
HeaderFields.getBasicAuthCredentials()
Retrieves the
BasicAuthCredentials from the request (or null if
there are none such credentials). |
BasicAuthCredentials |
BasicAuthCredentialsAccessor.getBasicAuthCredentials()
Retrieves the
BasicAuthCredentials from the Basic-Authentication
credentials property (or null if there are none such credentials). |
default BasicAuthCredentials |
HeaderFields.putBasicAuthCredentials(BasicAuthCredentials aBasicAuthCredentials)
Sets the
BasicAuthCredentials (user name and secret) for HTTP
Basic-Authentication. |
BasicAuthCredentials |
BasicAuthCredentialsAccessor.BasicAuthCredentialsMutator.putBasicAuthCredentials(BasicAuthCredentials aBasicAuthCredentials)
Sets the
BasicAuthCredentials for the Basic-Authentication
credentials property. |
default BasicAuthCredentials |
BasicAuthCredentialsAccessor.BasicAuthCredentialsMutator.putBasicAuthCredentials(String aUserName,
String aSecret)
Sets the
BasicAuthCredentials from the user name and the
secret for the Basic-Authentication credentials property. |
default BasicAuthCredentials |
HeaderFields.removeBasicAuthCredentials()
Removes the
BasicAuthCredentials (user name and secret) for HTTP
Basic-Authentication. |
default BasicAuthCredentials |
BasicAuthCredentials.withHttpAuthorization(String aHttpAuthorization)
Initializes this
AuthCredentials instance from the
HeaderField.AUTHORIZATION Header-Fields's value. |
Modifier and Type | Method and Description |
---|---|
BasicAuthResponse |
BasicAuthObserver.onBasicAuthRequest(InetSocketAddress aLocalAddress,
InetSocketAddress aRemoteAddress,
HttpMethod aHttpMethod,
String aLocator,
BasicAuthCredentials aCredentials,
String aRealm)
Invoked upon an incoming HTTP Basic-Authentication requests.
|
default BasicAuthCredentials |
HeaderFields.putBasicAuthCredentials(BasicAuthCredentials aBasicAuthCredentials)
Sets the
BasicAuthCredentials (user name and secret) for HTTP
Basic-Authentication. |
BasicAuthCredentials |
BasicAuthCredentialsAccessor.BasicAuthCredentialsMutator.putBasicAuthCredentials(BasicAuthCredentials aBasicAuthCredentials)
Sets the
BasicAuthCredentials for the Basic-Authentication
credentials property. |
default B |
HeaderFields.withBasicAuthCredentials(BasicAuthCredentials aBasicAuthCredentials)
Sets the
BasicAuthCredentials (user name and secret) for HTTP
Basic-Authentication. |
B |
BasicAuthCredentialsAccessor.BasicAuthCredentialsBuilder.withBasicAuthCredentials(BasicAuthCredentials aBasicAuthCredentials)
Sets the
BasicAuthCredentials for the Basic-Authentication
credentials property. |
Copyright © 2017. All rights reserved.