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
,OidcLogoutConfigurer
,OneTimeTokenLoginConfigurer
,PasswordManagementConfigurer
,PortMapperConfigurer
,RememberMeConfigurer
,RequestCacheConfigurer
,Saml2LogoutConfigurer
,Saml2MetadataConfigurer
,SecurityContextConfigurer
,ServletApiConfigurer
,SessionManagementConfigurer
,WebAuthnConfigurer
,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) Deprecated, for removal: This API element is subject to removal in a future version.withObjectPostProcessor
(ObjectPostProcessor<?> objectPostProcessor) Methods inherited from class org.springframework.security.config.annotation.SecurityConfigurerAdapter
addObjectPostProcessor, 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
-
withObjectPostProcessor
@Deprecated(since="6.4", forRemoval=true) public T withObjectPostProcessor(ObjectPostProcessor<?> objectPostProcessor) Deprecated, for removal: This API element is subject to removal in a future version. -
getSecurityContextHolderStrategy
-