Class AbstractHttpConfigurer<T extends AbstractHttpConfigurer<T,B>,B extends HttpSecurityBuilder<B>>
java.lang.Object
org.springframework.security.config.annotation.SecurityConfigurerAdapter<DefaultSecurityFilterChain,B>
org.springframework.security.config.annotation.web.configurers.AbstractHttpConfigurer<T,B>
- All Implemented Interfaces:
SecurityConfigurer<DefaultSecurityFilterChain,
B>
- Direct Known Subclasses:
AbstractAuthenticationFilterConfigurer
,AbstractInterceptUrlConfigurer
,AnonymousConfigurer
,AuthorizeHttpRequestsConfigurer
,ChannelSecurityConfigurer
,CorsConfigurer
,CsrfConfigurer
,DefaultLoginPageConfigurer
,ExceptionHandlingConfigurer
,HeadersConfigurer
,HttpBasicConfigurer
,JeeConfigurer
,LogoutConfigurer
,OAuth2ClientConfigurer
,OAuth2ResourceServerConfigurer
,PasswordManagementConfigurer
,PortMapperConfigurer
,RememberMeConfigurer
,RequestCacheConfigurer
,Saml2LogoutConfigurer
,SecurityContextConfigurer
,ServletApiConfigurer
,SessionManagementConfigurer
,X509Configurer
public abstract class AbstractHttpConfigurer<T extends AbstractHttpConfigurer<T,B>,B extends HttpSecurityBuilder<B>>
extends SecurityConfigurerAdapter<DefaultSecurityFilterChain,B>
Adds a convenient base class for
SecurityConfigurer
instances that operate on
HttpSecurity
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondisable()
Disables theAbstractHttpConfigurer
by removing it.protected SecurityContextHolderStrategy
withObjectPostProcessor
(ObjectPostProcessor<?> objectPostProcessor) Methods inherited from class org.springframework.security.config.annotation.SecurityConfigurerAdapter
addObjectPostProcessor, and, configure, getBuilder, init, postProcess, setBuilder
-
Constructor Details
-
AbstractHttpConfigurer
public AbstractHttpConfigurer()
-
-
Method Details
-
disable
Disables theAbstractHttpConfigurer
by removing it. After doing so a fresh version of the configuration can be applied.- Returns:
- the
HttpSecurityBuilder
for additional customizations
-
withObjectPostProcessor
-
getSecurityContextHolderStrategy
-