---
title: "spring-security-config 7.0.0 Breaking Changes"
description: "What each org.springframework.security:spring-security-config release on Maven Central removed, renamed or changed, each with its source."
canonical_url: https://since.dev/packages/maven/org.springframework.security:spring-security-config
last_updated: 2026-12-04
---

# org.springframework.security:spring-security-config breaking changes

org.springframework.security:spring-security-config 7.0.0 (November 17, 2025) is its newest release with breaking changes, 178 of them. The first: Removed org.springframework.security.config.annotation.ObjectPostProcessor. Every breaking API change we have recorded in org.springframework.security:spring-security-config on Maven Central: 458 breaking changes in 13 versions. Below, its 13 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `7.2.0`. [Source repository](https://github.com/spring-projects/spring-security)

Packages on Maven Central run on Java. [Java end of life dates](https://since.dev/calendar/eclipse-temurin.md).

- From [6.0.0](#v-6-0-0) to [7.0.0](#v-7-0-0): 207 breaking changes in 6 versions.

## org.springframework.security:spring-security-config 7.0.0 breaking changes

org.springframework.security:spring-security-config 7.0.0, released November 17, 2025: 178 breaking changes.

- **Removed** `org.springframework.security.config.annotation.ObjectPostProcessor`  

org.springframework.security.config.annotation.ObjectPostProcessor was removed in org.springframework.security:spring-security-config 7.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.springframework.security/spring-security-config/7.0.0)
- **Removed** `org.springframework.security.config.annotation.SecurityConfigurerAdapter.and`  

SecurityConfigurerAdapter.and was removed in org.springframework.security:spring-security-config 7.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.springframework.security/spring-security-config/7.0.0)
- **Removed** `org.springframework.security.config.annotation.web.AbstractRequestMatcherRegistry.createMvcMatchers`  

AbstractRequestMatcherRegistry.createMvcMatchers was removed in org.springframework.security:spring-security-config 7.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.springframework.security/spring-security-config/7.0.0)
- **Removed** `org.springframework.security.config.annotation.web.AuthorizeHttpRequestsDsl.getShouldFilterAllDispatcherTypes`  

AuthorizeHttpRequestsDsl.getShouldFilterAllDispatcherTypes was removed in org.springframework.security:spring-security-config 7.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.springframework.security/spring-security-config/7.0.0)
- **Removed** `org.springframework.security.config.annotation.web.AuthorizeHttpRequestsDsl.setShouldFilterAllDispatcherTypes`  

AuthorizeHttpRequestsDsl.setShouldFilterAllDispatcherTypes was removed in org.springframework.security:spring-security-config 7.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.springframework.security/spring-security-config/7.0.0)
- **Removed** `org.springframework.security.config.annotation.web.AuthorizeRequestsDsl`  

org.springframework.security.config.annotation.web.AuthorizeRequestsDsl was removed in org.springframework.security:spring-security-config 7.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.springframework.security/spring-security-config/7.0.0)
- **Removed** `org.springframework.security.config.annotation.web.builders.HttpSecurity.authorizeRequests`  

HttpSecurity.authorizeRequests was removed in org.springframework.security:spring-security-config 7.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.springframework.security/spring-security-config/7.0.0)
- **Removed** `org.springframework.security.config.annotation.web.builders.HttpSecurity.RequestMatcherConfigurer.and`  

org.springframework.security.config.annotation.web.builders.HttpSecurity.RequestMatcherConfigurer.and was removed in org.springframework.security:spring-security-config 7.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.springframework.security/spring-security-config/7.0.0)
- **Removed** `org.springframework.security.config.annotation.web.configurers.AbstractConfigAttributeRequestMatcherRegistry.createMvcMatchers`  

AbstractConfigAttributeRequestMatcherRegistry.createMvcMatchers was removed in org.springframework.security:spring-security-config 7.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.springframework.security/spring-security-config/7.0.0)
- **Removed** `org.springframework.security.config.annotation.web.configurers.AbstractHttpConfigurer.and`  

AbstractHttpConfigurer.and was removed in org.springframework.security:spring-security-config 7.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.springframework.security/spring-security-config/7.0.0)
- **Removed** `org.springframework.security.config.annotation.web.configurers.AbstractInterceptUrlConfigurer`  

org.springframework.security.config.annotation.web.configurers.AbstractInterceptUrlConfigurer was removed in org.springframework.security:spring-security-config 7.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.springframework.security/spring-security-config/7.0.0)
- **Removed** `org.springframework.security.config.annotation.web.configurers.AuthorizeHttpRequestsConfigurer.AuthorizationManagerRequestMatcherRegistry.and`  

org.springframework.security.config.annotation.web.configurers.AuthorizeHttpRequestsConfigurer.AuthorizationManagerRequestMatcherRegistry.and was removed in... [central.sonatype.com](https://central.sonatype.com/artifact/org.springframework.security/spring-security-config/7.0.0)
- **Removed** `org.springframework.security.config.annotation.web.configurers.ChannelSecurityConfigurer.ChannelRequestMatcherRegistry.and`  

org.springframework.security.config.annotation.web.configurers.ChannelSecurityConfigurer.ChannelRequestMatcherRegistry.and was removed in org.springframework.security:spring-security-config 7.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.springframework.security/spring-security-config/7.0.0)
- **Removed** `org.springframework.security.config.annotation.web.configurers.ExpressionUrlAuthorizationConfigurer`  

org.springframework.security.config.annotation.web.configurers.ExpressionUrlAuthorizationConfigurer was removed in org.springframework.security:spring-security-config 7.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.springframework.security/spring-security-config/7.0.0)
- **Removed** `org.springframework.security.config.annotation.web.configurers.HeadersConfigurer.CacheControlConfig.and`  

org.springframework.security.config.annotation.web.configurers.HeadersConfigurer.CacheControlConfig.and was removed in org.springframework.security:spring-security-config 7.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.springframework.security/spring-security-config/7.0.0)
- **Removed** `org.springframework.security.config.annotation.web.configurers.HeadersConfigurer.ContentSecurityPolicyConfig.and`  

org.springframework.security.config.annotation.web.configurers.HeadersConfigurer.ContentSecurityPolicyConfig.and was removed in org.springframework.security:spring-security-config 7.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.springframework.security/spring-security-config/7.0.0)
- **Removed** `org.springframework.security.config.annotation.web.configurers.HeadersConfigurer.ContentTypeOptionsConfig.and`  

org.springframework.security.config.annotation.web.configurers.HeadersConfigurer.ContentTypeOptionsConfig.and was removed in org.springframework.security:spring-security-config 7.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.springframework.security/spring-security-config/7.0.0)
- **Removed** `org.springframework.security.config.annotation.web.configurers.HeadersConfigurer.CrossOriginEmbedderPolicyConfig.and`  

org.springframework.security.config.annotation.web.configurers.HeadersConfigurer.CrossOriginEmbedderPolicyConfig.and was removed in org.springframework.security:spring-security-config 7.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.springframework.security/spring-security-config/7.0.0)
- **Removed** `org.springframework.security.config.annotation.web.configurers.HeadersConfigurer.CrossOriginOpenerPolicyConfig.and`  

org.springframework.security.config.annotation.web.configurers.HeadersConfigurer.CrossOriginOpenerPolicyConfig.and was removed in org.springframework.security:spring-security-config 7.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.springframework.security/spring-security-config/7.0.0)
- **Removed** `org.springframework.security.config.annotation.web.configurers.HeadersConfigurer.CrossOriginResourcePolicyConfig.and`  

org.springframework.security.config.annotation.web.configurers.HeadersConfigurer.CrossOriginResourcePolicyConfig.and was removed in org.springframework.security:spring-security-config 7.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.springframework.security/spring-security-config/7.0.0)
- **Removed** `org.springframework.security.config.annotation.web.configurers.HeadersConfigurer.FrameOptionsConfig.and`  

org.springframework.security.config.annotation.web.configurers.HeadersConfigurer.FrameOptionsConfig.and was removed in org.springframework.security:spring-security-config 7.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.springframework.security/spring-security-config/7.0.0)
- **Removed** `org.springframework.security.config.annotation.web.configurers.HeadersConfigurer.HstsConfig.and`  

org.springframework.security.config.annotation.web.configurers.HeadersConfigurer.HstsConfig.and was removed in org.springframework.security:spring-security-config 7.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.springframework.security/spring-security-config/7.0.0)
- **Removed** `org.springframework.security.config.annotation.web.configurers.HeadersConfigurer.PermissionsPolicyConfig.and`  

org.springframework.security.config.annotation.web.configurers.HeadersConfigurer.PermissionsPolicyConfig.and was removed in org.springframework.security:spring-security-config 7.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.springframework.security/spring-security-config/7.0.0)
- **Removed** `org.springframework.security.config.annotation.web.configurers.HeadersConfigurer.ReferrerPolicyConfig.and`  

org.springframework.security.config.annotation.web.configurers.HeadersConfigurer.ReferrerPolicyConfig.and was removed in org.springframework.security:spring-security-config 7.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.springframework.security/spring-security-config/7.0.0)
- **Removed** `org.springframework.security.config.annotation.web.configurers.HeadersConfigurer.XXssConfig.and`  

org.springframework.security.config.annotation.web.configurers.HeadersConfigurer.XXssConfig.and was removed in org.springframework.security:spring-security-config 7.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.springframework.security/spring-security-config/7.0.0)
- **Removed** `org.springframework.security.config.annotation.web.configurers.oauth2.client.OAuth2ClientConfigurer.AuthorizationCodeGrantConfigurer.and`  

org.springframework.security.config.annotation.web.configurers.oauth2.client.OAuth2ClientConfigurer.AuthorizationCodeGrantConfigurer.and was removed in... [central.sonatype.com](https://central.sonatype.com/artifact/org.springframework.security/spring-security-config/7.0.0)
- **Removed** `org.springframework.security.config.annotation.web.configurers.oauth2.client.OAuth2LoginConfigurer.AuthorizationEndpointConfig.and`  

org.springframework.security.config.annotation.web.configurers.oauth2.client.OAuth2LoginConfigurer.AuthorizationEndpointConfig.and was removed in org.springframework.security:spring-security-config... [central.sonatype.com](https://central.sonatype.com/artifact/org.springframework.security/spring-security-config/7.0.0)
- **Removed** `org.springframework.security.config.annotation.web.configurers.oauth2.client.OAuth2LoginConfigurer.RedirectionEndpointConfig.and`  

org.springframework.security.config.annotation.web.configurers.oauth2.client.OAuth2LoginConfigurer.RedirectionEndpointConfig.and was removed in org.springframework.security:spring-security-config... [central.sonatype.com](https://central.sonatype.com/artifact/org.springframework.security/spring-security-config/7.0.0)
- **Removed** `org.springframework.security.config.annotation.web.configurers.oauth2.client.OAuth2LoginConfigurer.TokenEndpointConfig.and`  

org.springframework.security.config.annotation.web.configurers.oauth2.client.OAuth2LoginConfigurer.TokenEndpointConfig.and was removed in org.springframework.security:spring-security-config 7.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.springframework.security/spring-security-config/7.0.0)
- **Removed** `org.springframework.security.config.annotation.web.configurers.oauth2.client.OAuth2LoginConfigurer.UserInfoEndpointConfig.and`  

org.springframework.security.config.annotation.web.configurers.oauth2.client.OAuth2LoginConfigurer.UserInfoEndpointConfig.and was removed in org.springframework.security:spring-security-config 7.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.springframework.security/spring-security-config/7.0.0)
- **Removed** `org.springframework.security.config.annotation.web.configurers.oauth2.server.resource.OAuth2ResourceServerConfigurer.JwtConfigurer.and`  

org.springframework.security.config.annotation.web.configurers.oauth2.server.resource.OAuth2ResourceServerConfigurer.JwtConfigurer.and was removed in... [central.sonatype.com](https://central.sonatype.com/artifact/org.springframework.security/spring-security-config/7.0.0)
- **Removed** `org.springframework.security.config.annotation.web.configurers.saml2.Saml2LogoutConfigurer.LogoutRequestConfigurer.and`  

org.springframework.security.config.annotation.web.configurers.saml2.Saml2LogoutConfigurer.LogoutRequestConfigurer.and was removed in org.springframework.security:spring-security-config 7.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.springframework.security/spring-security-config/7.0.0)
- **Removed** `org.springframework.security.config.annotation.web.configurers.saml2.Saml2LogoutConfigurer.LogoutResponseConfigurer.and`  

org.springframework.security.config.annotation.web.configurers.saml2.Saml2LogoutConfigurer.LogoutResponseConfigurer.and was removed in org.springframework.security:spring-security-config 7.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.springframework.security/spring-security-config/7.0.0)
- **Removed** `org.springframework.security.config.annotation.web.configurers.SessionManagementConfigurer.ConcurrencyControlConfigurer.and`  

org.springframework.security.config.annotation.web.configurers.SessionManagementConfigurer.ConcurrencyControlConfigurer.and was removed in org.springframework.security:spring-security-config 7.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.springframework.security/spring-security-config/7.0.0)
- **Removed** `org.springframework.security.config.annotation.web.configurers.UrlAuthorizationConfigurer`  

org.springframework.security.config.annotation.web.configurers.UrlAuthorizationConfigurer was removed in org.springframework.security:spring-security-config 7.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.springframework.security/spring-security-config/7.0.0)
- **Removed** `org.springframework.security.config.annotation.web.HttpSecurityDsl.authorizeRequests`  

HttpSecurityDsl.authorizeRequests was removed in org.springframework.security:spring-security-config 7.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.springframework.security/spring-security-config/7.0.0)
- **Removed** `org.springframework.security.config.annotation.web.messaging.MessageSecurityMetadataSourceRegistry`  

org.springframework.security.config.annotation.web.messaging.MessageSecurityMetadataSourceRegistry was removed in org.springframework.security:spring-security-config 7.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.springframework.security/spring-security-config/7.0.0)
- **Removed** `org.springframework.security.config.annotation.web.RequestMatcherFactory`  

org.springframework.security.config.annotation.web.RequestMatcherFactory was removed in org.springframework.security:spring-security-config 7.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.springframework.security/spring-security-config/7.0.0)
- **Removed** `org.springframework.security.config.BeanIds.EMBEDDED_APACHE_DS`  

org.springframework.security.config.BeanIds.EMBEDDED_APACHE_DS was removed in org.springframework.security:spring-security-config 7.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.springframework.security/spring-security-config/7.0.0)
- **Removed** `org.springframework.security.config.http.MatcherType.ant`  

MatcherType.ant was removed in org.springframework.security:spring-security-config 7.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.springframework.security/spring-security-config/7.0.0)
- **Removed** `org.springframework.security.config.http.MatcherType.mvc`  

MatcherType.mvc was removed in org.springframework.security:spring-security-config 7.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.springframework.security/spring-security-config/7.0.0)
- **Removed** `org.springframework.security.config.http.MessageMatcherFactoryBean.setPathMatcher`  

MessageMatcherFactoryBean.setPathMatcher was removed in org.springframework.security:spring-security-config 7.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.springframework.security/spring-security-config/7.0.0)
- **Removed** `org.springframework.security.config.web.server.ServerHttpSecurity.AnonymousSpec.and`  

org.springframework.security.config.web.server.ServerHttpSecurity.AnonymousSpec.and was removed in org.springframework.security:spring-security-config 7.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.springframework.security/spring-security-config/7.0.0)
- **Removed** `org.springframework.security.config.web.server.ServerHttpSecurity.AuthorizeExchangeSpec.and`  

org.springframework.security.config.web.server.ServerHttpSecurity.AuthorizeExchangeSpec.and was removed in org.springframework.security:spring-security-config 7.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.springframework.security/spring-security-config/7.0.0)
- **Removed** `org.springframework.security.config.web.server.ServerHttpSecurity.CorsSpec.and`  

org.springframework.security.config.web.server.ServerHttpSecurity.CorsSpec.and was removed in org.springframework.security:spring-security-config 7.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.springframework.security/spring-security-config/7.0.0)
- **Removed** `org.springframework.security.config.web.server.ServerHttpSecurity.CsrfSpec.and`  

org.springframework.security.config.web.server.ServerHttpSecurity.CsrfSpec.and was removed in org.springframework.security:spring-security-config 7.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.springframework.security/spring-security-config/7.0.0)
- **Removed** `org.springframework.security.config.web.server.ServerHttpSecurity.ExceptionHandlingSpec.and`  

org.springframework.security.config.web.server.ServerHttpSecurity.ExceptionHandlingSpec.and was removed in org.springframework.security:spring-security-config 7.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.springframework.security/spring-security-config/7.0.0)
- **Removed** `org.springframework.security.config.web.server.ServerHttpSecurity.FormLoginSpec.and`  

org.springframework.security.config.web.server.ServerHttpSecurity.FormLoginSpec.and was removed in org.springframework.security:spring-security-config 7.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.springframework.security/spring-security-config/7.0.0)
- **Removed** `org.springframework.security.config.web.server.ServerHttpSecurity.HeaderSpec.and`  

org.springframework.security.config.web.server.ServerHttpSecurity.HeaderSpec.and was removed in org.springframework.security:spring-security-config 7.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.springframework.security/spring-security-config/7.0.0)
- **Removed** `org.springframework.security.config.web.server.ServerHttpSecurity.HeaderSpec.ContentSecurityPolicySpec.and`  

org.springframework.security.config.web.server.ServerHttpSecurity.HeaderSpec.ContentSecurityPolicySpec.and was removed in org.springframework.security:spring-security-config 7.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.springframework.security/spring-security-config/7.0.0)

And 128 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## org.springframework.security:spring-security-config 7.0.0-RC2 breaking changes

org.springframework.security:spring-security-config 7.0.0-RC2, released November 17, 2025: 1 breaking change.

- **Renamed** `EnableGlobalMultiFactorAuthentication`  

EnableGlobalMultiFactorAuthentication is renamed to EnableMultiFactorAuthentication. [github.com](https://github.com/spring-projects/spring-security/releases/tag/7.0.0-RC2)

## org.springframework.security:spring-security-config 7.0.0-RC1 breaking changes

org.springframework.security:spring-security-config 7.0.0-RC1, released November 17, 2025: 5 breaking changes.

- **Removed** `OidcReactiveOAuth2UserService.setOidcUserMapper`  

setOidcUserMapper() is removed from OidcReactiveOAuth2UserService. [github.com](https://github.com/spring-projects/spring-security/releases/tag/7.0.0-RC1)
- **Removed** `OidcUserService.setAccessibleScopes`  

setAccessibleScopes() is removed from OidcUserService. [github.com](https://github.com/spring-projects/spring-security/releases/tag/7.0.0-RC1)
- **Removed** `OidcUserService.setOidcUserMapper`  

setOidcUserMapper() is removed from OidcUserService and OidcReactiveOAuth2UserService. [github.com](https://github.com/spring-projects/spring-security/releases/tag/7.0.0-RC1)
- **Behavior changed** `OidcUserService.setRetrieveUserInfo`  

setRetrieveUserInfo() now behaves the same in OidcUserService and OidcReactiveOAuth2UserService, which can change user info loading. [github.com](https://github.com/spring-projects/spring-security/releases/tag/7.0.0-RC1)
- **Default changed** `PKCE`  

PKCE is enabled by default, so clients that do not support it may fail. [github.com](https://github.com/spring-projects/spring-security/releases/tag/7.0.0-RC1)

## org.springframework.security:spring-security-config 7.0.0-M3 breaking changes

org.springframework.security:spring-security-config 7.0.0-M3, released November 17, 2025: 2 breaking changes.

- **Removed** `PortResolver`  

PortResolver is removed in 7.0.0-M3. Code that uses it must stop referencing it. [github.com](https://github.com/spring-projects/spring-security/releases/tag/7.0.0-M3)
- **Behavior changed**  

Expression Templates are enabled by default in 7.0.0-M3, which changes how expressions are evaluated. [github.com](https://github.com/spring-projects/spring-security/releases/tag/7.0.0-M3)

## org.springframework.security:spring-security-config 7.0.0-M2 breaking changes

org.springframework.security:spring-security-config 7.0.0-M2, released November 17, 2025: 1 breaking change.

- **Removed**  

Support for OpenSAML 4 is removed; OpenSAML 5 is required. [github.com](https://github.com/spring-projects/spring-security/releases/tag/7.0.0-M2)

## org.springframework.security:spring-security-config 7.0.0-M1 breaking changes

org.springframework.security:spring-security-config 7.0.0-M1, released November 17, 2025: 20 breaking changes.

- **Removed** `ApacheDS`  

ApacheDS support is removed. [github.com](https://github.com/spring-projects/spring-security/releases/tag/7.0.0-M1)
- **Removed** `AssertingPartyDetails`  

AssertingPartyDetails is removed from APIs in favor of AssertingPartyMetadata. [github.com](https://github.com/spring-projects/spring-security/releases/tag/7.0.0-M1)
- **Removed** `authorizeRequests`  

The authorizeRequests method is removed; use authorizeHttpRequests instead. [github.com](https://github.com/spring-projects/spring-security/releases/tag/7.0.0-M1)
- **Removed** `DistinguishedName`  

Use LdapName instead of DistinguishedName. [github.com](https://github.com/spring-projects/spring-security/releases/tag/7.0.0-M1)
- **Removed** `HandlerMappingIntrospector`  

Usage of HandlerMappingIntrospector is removed. [github.com](https://github.com/spring-projects/spring-security/releases/tag/7.0.0-M1)
- **Removed** `LazyCsrfTokenRepository`  

The LazyCsrfTokenRepository class is removed. [github.com](https://github.com/spring-projects/spring-security/releases/tag/7.0.0-M1)
- **Removed** `Nimbus(Reactive)OpaqueTokenIntrospector`  

The Nimbus(Reactive)OpaqueTokenIntrospector classes are removed; use SpringReactiveOpaqueTokenIntrospector for the reactive case. [github.com](https://github.com/spring-projects/spring-security/releases/tag/7.0.0-M1)
- **Removed** `org.springframework.security.config.annotation.web.configurers.AuthorizeHttpRequestsConfigurer.AuthorizationManagerRequestMatcherRegistry.shouldFilterAllDispatc...`  

The shouldFilterAllDispatcherTypes option is removed. [central.sonatype.com](https://central.sonatype.com/artifact/org.springframework.security/spring-security-config/7.0.0)
- **Removed** `org.springframework.security.config.annotation.web.servlet.configuration.EnableWebMvcSecurity`  

The EnableWebMvcSecurity annotation is removed. [central.sonatype.com](https://central.sonatype.com/artifact/org.springframework.security/spring-security-config/7.0.0)
- **Removed** `org.springframework.security.config.annotation.web.socket.AbstractSecurityWebSocketMessageBrokerConfigurer`  

The AbstractSecurityWebSocketMessageBrokerConfigurer class is removed. [central.sonatype.com](https://central.sonatype.com/artifact/org.springframework.security/spring-security-config/7.0.0)

And 10 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Older versions

7 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### org.springframework.security:spring-security-config 6.0.0 breaking changes

org.springframework.security:spring-security-config 6.0.0, released November 21, 2022: 197 breaking changes.

- **Removed** `org.springframework.security.config.annotation.web.AbstractRequestMatcherRegistry.antMatchers`  

AbstractRequestMatcherRegistry.antMatchers was removed in org.springframework.security:spring-security-config 6.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.springframework.security/spring-security-config/6.0.0)
- **Removed** `org.springframework.security.config.annotation.web.AbstractRequestMatcherRegistry.mvcMatchers`  

AbstractRequestMatcherRegistry.mvcMatchers was removed in org.springframework.security:spring-security-config 6.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.springframework.security/spring-security-config/6.0.0)

And 195 more in this version.

### org.springframework.security:spring-security-config 6.0.0-RC1 breaking changes

org.springframework.security:spring-security-config 6.0.0-RC1, released November 21, 2022: 21 breaking changes.

- **Removed**  

Support for OpenSAML 3 has been removed. [github.com](https://github.com/spring-projects/spring-security/releases/tag/6.0.0-RC1)
- **Removed**  

The deprecated RequestMatcher methods in Java configuration are removed. [github.com](https://github.com/spring-projects/spring-security/releases/tag/6.0.0-RC1)

And 19 more in this version.

### org.springframework.security:spring-security-config 6.0.0-M7 breaking changes

org.springframework.security:spring-security-config 6.0.0-M7, released November 21, 2022: 5 breaking changes.

- **Removed** `Encryptors.querableText`  

The unsafe deprecated querableText method was removed. [github.com](https://github.com/spring-projects/spring-security/releases/tag/6.0.0-M7)
- **Removed** `FilterSecurityInterceptor`  

FilterSecurityInterceptor is no longer applied by WebSecurity. [github.com](https://github.com/spring-projects/spring-security/releases/tag/6.0.0-M7)

And 3 more in this version.

### org.springframework.security:spring-security-config 6.0.0-M6 breaking changes

org.springframework.security:spring-security-config 6.0.0-M6, released November 21, 2022: 23 breaking changes.

- **Removed** `AbstractOAuth2AuthorizationGrantRequest`  

Deprecated members of this class were removed. [github.com](https://github.com/spring-projects/spring-security/releases/tag/6.0.0-M6)
- **Removed** `allowMultipleAuthorizationRequests`  

The deprecated option was removed; code using it will no longer compile. [github.com](https://github.com/spring-projects/spring-security/releases/tag/6.0.0-M6)

And 21 more in this version.

### org.springframework.security:spring-security-config 6.0.0-M4 breaking changes

org.springframework.security:spring-security-config 6.0.0-M4, released November 21, 2022: 3 breaking changes.

- **Behavior changed** `AbstractRequestMatcherRegistry.shouldFilterAllDispatchTypes`  

Authorization is checked on every dispatch type, and shouldFilterAllDispatchTypes now defaults to true. [github.com](https://github.com/spring-projects/spring-security/releases/tag/6.0.0-M4)
- **Behavior changed** `RequestRejectedException`  

Rejected requests now return HTTP 400 by default instead of the previous status. [github.com](https://github.com/spring-projects/spring-security/releases/tag/6.0.0-M4)

And 1 more in this version.

### org.springframework.security:spring-security-config 6.0.0-M2 breaking changes

org.springframework.security:spring-security-config 6.0.0-M2, released November 21, 2022: 1 breaking change.

- **Behavior changed** `ClientAuthenticationMethod.equals`  

equals and hashCode of ClientAuthenticationMethod now behave consistently, which can change results when comparing or hashing these values. [github.com](https://github.com/spring-projects/spring-security/releases/tag/6.0.0-M2)

### org.springframework.security:spring-security-config 6.0.0-M1 breaking changes

org.springframework.security:spring-security-config 6.0.0-M1, released November 21, 2022: 1 breaking change.

- **Renamed** `org.springframework.security.config.web.servlet.HttpSecurityDsl`  

HttpSecurityDsl and related files moved to another package, so imports referencing the old location must be updated. [central.sonatype.com](https://central.sonatype.com/artifact/org.springframework.security/spring-security-config/6.0.0)

## Related packages

- [org.springframework.security:spring-security-core](https://since.dev/packages/maven/org.springframework.security:spring-security-core.md)
- [org.springframework.security:spring-security-data](https://since.dev/packages/maven/org.springframework.security:spring-security-data.md)
- [org.springframework.security:spring-security-test](https://since.dev/packages/maven/org.springframework.security:spring-security-test.md)
- [org.springframework.security:spring-security-web](https://since.dev/packages/maven/org.springframework.security:spring-security-web.md)
- [org.springframework.security:spring-security-taglibs](https://since.dev/packages/maven/org.springframework.security:spring-security-taglibs.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
