public interface SecurityConfigurationBuilder extends ConfigurationBuilder
Configuration customizations for the default web security.
Modifier and Type | Method and Description |
---|---|
SecurityConfigurationBuilder |
disableAuthenticationManagerBuilderDefaults(boolean disableAuthenticationManagerBuilderDefaults)
Disables the authentication manager builder defaults.
|
SecurityConfigurationBuilder |
disableHttpSecurityDefaults(boolean disableHttpSecurityDefaults)
Disables the HTTP security defaults.
|
SecurityConfigurationBuilder |
disableWebSecurityDefaults(boolean disableWebSecurityDefaults)
Disables the web security defaults.
|
SecurityConfigurationBuilder disableWebSecurityDefaults(boolean disableWebSecurityDefaults)
Disables the web security defaults.
The web security default settings are written between the invocations of
SecurityConfigurationConfigurer.preConfigureWebSecurity(WebSecurity)
and
SecurityConfigurationConfigurer.postConfigureWebSecurity(WebSecurity)
.
If you want to fully define your own web security configuration then this method can be used to prevent
the default settings from being used at all.
disableWebSecurityDefaults
- true
if the defaults should be disabledSecurityConfigurationBuilder disableHttpSecurityDefaults(boolean disableHttpSecurityDefaults)
Disables the HTTP security defaults.
The HTTP security default settings are written between the invocations of
SecurityConfigurationConfigurer.preConfigureHttpSecurity(HttpSecurity)
and
SecurityConfigurationConfigurer.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 disabledSecurityConfigurationBuilder disableAuthenticationManagerBuilderDefaults(boolean disableAuthenticationManagerBuilderDefaults)
Disables the authentication manager builder defaults.
The authentication manager default settings are written between the invocations of
SecurityConfigurationConfigurer.preConfigureAuthenticationManagerBuilder(AuthenticationManagerBuilder)
and
SecurityConfigurationConfigurer.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 - 2018 edorasware ag. All Rights Reserved.