Package io.dropwizard.client.proxy
Class AuthConfiguration
java.lang.Object
io.dropwizard.client.proxy.AuthConfiguration
Represents a configuration of credentials for either Username Password or NT credentials
Configuration Parameters:
| Name | Default | Description |
username |
REQUIRED | The username used to connect to the server. |
password |
REQUIRED | The password used to connect to the server. |
authScheme |
null | Optional, The authentication scheme used by the underlying
AuthScope class. Can be one of:
|
realm |
null | Optional, Realm to be used for NTLM Authentication. |
hostname |
null | The hostname of the Principal in NTLM Authentication. |
domain |
null | Optional, The domain used in NTLM Authentication. |
credentialType |
null | The Credentials implementation
to use for proxy authentication. Currently supports
UsernamePassword (UsernamePasswordCredentials) and
NT (NTCredentials) |
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable String@Nullable String@Nullable String@Nullable String@Nullable StringgetRealm()voidsetAuthScheme(String authScheme) voidsetCredentialType(String credentialType) voidvoidsetHostname(String hostname) voidsetPassword(String password) voidvoidsetUsername(String username)
-
Field Details
-
BASIC_AUTH_SCHEME
- See Also:
-
NTLM_AUTH_SCHEME
Deprecated.- See Also:
-
USERNAME_PASSWORD_CREDS
- See Also:
-
NT_CREDS
- See Also:
-
-
Constructor Details
-
AuthConfiguration
public AuthConfiguration() -
AuthConfiguration
-
AuthConfiguration
-
-
Method Details
-
getUsername
-
setUsername
-
getPassword
-
setPassword
-
getAuthScheme
-
setAuthScheme
-
getRealm
-
setRealm
-
getHostname
-
setHostname
-
getDomain
-
setDomain
-
getCredentialType
-
setCredentialType
-