public class AuthenticationConfigurationBuilder extends Object
Provides a set of options to configure authentication for a specific path.
Constructor and Description |
---|
AuthenticationConfigurationBuilder(PathConfigurationBuilder parentBuilder) |
Modifier and Type | Method and Description |
---|---|
BasicAuthenticationConfigurationBuilder |
basic()
Configures HTTP BASIC Authentication for a specific path.
|
DigestAuthenticationConfigurationBuilder |
digest()
Configures HTTP DIGEST Authentication for a specific path.
|
FormAuthenticationConfigurationBuilder |
form()
Configures HTTP FORM Authentication for a specific path.
|
CustomAuthenticationConfigurationBuilder |
scheme(Class<? extends HttpAuthenticationScheme> schemeType)
Configures a specific
HttpAuthenticationScheme . |
TokenAuthenticationConfigurationBuilder |
token()
Configures Token-based Authentication for a specific path.
|
X509AuthenticationConfigurationBuilder |
x509()
Configures HTTP CLIENT-CERT Authentication for a specific path.
|
public AuthenticationConfigurationBuilder(PathConfigurationBuilder parentBuilder)
public FormAuthenticationConfigurationBuilder form()
Configures HTTP FORM Authentication for a specific path.
public BasicAuthenticationConfigurationBuilder basic()
Configures HTTP BASIC Authentication for a specific path.
public DigestAuthenticationConfigurationBuilder digest()
Configures HTTP DIGEST Authentication for a specific path.
public X509AuthenticationConfigurationBuilder x509()
Configures HTTP CLIENT-CERT Authentication for a specific path.
public TokenAuthenticationConfigurationBuilder token()
Configures Token-based Authentication for a specific path.
public CustomAuthenticationConfigurationBuilder scheme(Class<? extends HttpAuthenticationScheme> schemeType)
Configures a specific HttpAuthenticationScheme
.
You may use this method to provide your own authentication scheme.
Copyright © 2018. All rights reserved.