@Beta public class AuthConfig extends java.lang.Object
An instance of this class can be created by AuthConfig
and it must be registered to property bag in ClientManager
.
Authenticator
,
ClientManager.getProperties()
Modifier and Type | Class and Description |
---|---|
static class |
AuthConfig.Builder
The AuthConfig.Builder is a class used for creating an instance of
AuthConfig for purpose of HTTP
Authentication. |
Modifier and Type | Method and Description |
---|---|
static AuthConfig.Builder |
builder()
Create new
AuthConfig.Builder instance, which contains provided Basic and Digest authenticators. |
java.util.Map<java.lang.String,Authenticator> |
getAuthenticators()
Get an unmodifiable map of authenticators, where case insensitive authentication scheme to
Authenticator . |
java.lang.String |
toString() |
public java.util.Map<java.lang.String,Authenticator> getAuthenticators()
Authenticator
.Authenticator
.public static AuthConfig.Builder builder()
AuthConfig.Builder
instance, which contains provided Basic and Digest authenticators.public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2012–2020 Oracle Corporation. All rights reserved.