public interface SecurityApiConfigurationBuilder extends ConfigurationBuilder
Configuration customizations for the web security of the public REST API.
| Modifier and Type | Method and Description |
|---|---|
SecurityApiConfigurationBuilder |
disableAuthenticationManagerBuilderDefaults(boolean disableAuthenticationManagerBuilderDefaults)
Disables the authentication manager builder defaults.
|
SecurityApiConfigurationBuilder |
disableHttpSecurityDefaults(boolean disableHttpSecurityDefaults)
Disables the HTTP security defaults.
|
SecurityApiConfigurationBuilder disableHttpSecurityDefaults(boolean disableHttpSecurityDefaults)
Disables the HTTP security defaults.
The HTTP security default settings are written between the invocations of
SecurityApiConfigurationConfigurer.preConfigureHttpSecurity(HttpSecurity) and
SecurityApiConfigurationConfigurer.postConfigureHttpSecurity(HttpSecurity). If you want to fully
define your own security configuration then this method can be used to prevent the default settings from being
used at all.
disableHttpSecurityDefaults - true if the defaults should be disabledSecurityApiConfigurationBuilder disableAuthenticationManagerBuilderDefaults(boolean disableAuthenticationManagerBuilderDefaults)
Disables the authentication manager builder defaults.
The authentication manager default settings are written between the invocations of
SecurityApiConfigurationConfigurer.preConfigureAuthenticationManagerBuilder(AuthenticationManagerBuilder) and
SecurityApiConfigurationConfigurer.postConfigureAuthenticationManagerBuilder(AuthenticationManagerBuilder).
If you want to fully define your own authentication manager configuration then this method can be used to prevent
the default settings from being used at all.
disableAuthenticationManagerBuilderDefaults - true if the defaults should be disabledCopyright © 2010 - 2019 edorasware ag. All Rights Reserved.