org.springframework.security:spring-security-web breaking changes
Updated December 4, 2026
On this page
Latest version 7.2.0. Source repository
Packages on Maven Central run on Java. Java end of life dates.
org.springframework.security:spring-security-web 7.0.0 breaking changes
- Removed
org.springframework.security.web.access.channel.AbstractRetryEntryPoint
org.springframework.security.web.access.channel.AbstractRetryEntryPoint was removed in org.springframework.security:spring-security-web 7.0.0 central.sonatype.com - Removed
org.springframework.security.web.access.channel.ChannelDecisionManager
org.springframework.security.web.access.channel.ChannelDecisionManager was removed in org.springframework.security:spring-security-web 7.0.0 central.sonatype.com - Removed
org.springframework.security.web.access.channel.ChannelDecisionManagerImpl
org.springframework.security.web.access.channel.ChannelDecisionManagerImpl was removed in org.springframework.security:spring-security-web 7.0.0 central.sonatype.com - Removed
org.springframework.security.web.access.channel.ChannelEntryPoint
org.springframework.security.web.access.channel.ChannelEntryPoint was removed in org.springframework.security:spring-security-web 7.0.0 central.sonatype.com - Removed
org.springframework.security.web.access.channel.ChannelProcessingFilter
org.springframework.security.web.access.channel.ChannelProcessingFilter was removed in org.springframework.security:spring-security-web 7.0.0 central.sonatype.com - Removed
org.springframework.security.web.access.channel.ChannelProcessor
org.springframework.security.web.access.channel.ChannelProcessor was removed in org.springframework.security:spring-security-web 7.0.0 central.sonatype.com - Removed
org.springframework.security.web.access.channel.InsecureChannelProcessor
org.springframework.security.web.access.channel.InsecureChannelProcessor was removed in org.springframework.security:spring-security-web 7.0.0 central.sonatype.com - Removed
org.springframework.security.web.access.channel.RetryWithHttpEntryPoint
org.springframework.security.web.access.channel.RetryWithHttpEntryPoint was removed in org.springframework.security:spring-security-web 7.0.0 central.sonatype.com - Removed
org.springframework.security.web.access.channel.RetryWithHttpsEntryPoint
org.springframework.security.web.access.channel.RetryWithHttpsEntryPoint was removed in org.springframework.security:spring-security-web 7.0.0 central.sonatype.com - Removed
org.springframework.security.web.access.channel.SecureChannelProcessor
org.springframework.security.web.access.channel.SecureChannelProcessor was removed in org.springframework.security:spring-security-web 7.0.0 central.sonatype.com - Removed
org.springframework.security.web.access.DefaultWebInvocationPrivilegeEvaluator
org.springframework.security.web.access.DefaultWebInvocationPrivilegeEvaluator was removed in org.springframework.security:spring-security-web 7.0.0 central.sonatype.com - Removed
org.springframework.security.web.access.expression.DefaultWebSecurityExpressionHandler
org.springframework.security.web.access.expression.DefaultWebSecurityExpressionHandler was removed in org.springframework.security:spring-security-web 7.0.0 central.sonatype.com - Removed
org.springframework.security.web.access.expression.ExpressionBasedFilterInvocationSecurityMetadataSource
org.springframework.security.web.access.expression.ExpressionBasedFilterInvocationSecurityMetadataSource was removed in org.springframework.security:spring-security-web 7.0.0 central.sonatype.com - Removed
org.springframework.security.web.access.expression.WebExpressionAuthorizationManager.check
WebExpressionAuthorizationManager.check was removed in org.springframework.security:spring-security-web 7.0.0 central.sonatype.com - Removed
org.springframework.security.web.access.expression.WebExpressionVoter
org.springframework.security.web.access.expression.WebExpressionVoter was removed in org.springframework.security:spring-security-web 7.0.0 central.sonatype.com - Removed
org.springframework.security.web.access.HandlerMappingIntrospectorRequestTransformer
org.springframework.security.web.access.HandlerMappingIntrospectorRequestTransformer was removed in org.springframework.security:spring-security-web 7.0.0 central.sonatype.com - Removed
org.springframework.security.web.access.intercept.AuthorizationFilter.setShouldFilterAllDispatcherTypes
AuthorizationFilter.setShouldFilterAllDispatcherTypes was removed in org.springframework.security:spring-security-web 7.0.0 central.sonatype.com - Removed
org.springframework.security.web.access.intercept.DefaultFilterInvocationSecurityMetadataSource
org.springframework.security.web.access.intercept.DefaultFilterInvocationSecurityMetadataSource was removed in org.springframework.security:spring-security-web 7.0.0 central.sonatype.com - Removed
org.springframework.security.web.access.intercept.FilterInvocationSecurityMetadataSource
org.springframework.security.web.access.intercept.FilterInvocationSecurityMetadataSource was removed in org.springframework.security:spring-security-web 7.0.0 central.sonatype.com - Removed
org.springframework.security.web.access.intercept.FilterSecurityInterceptor
org.springframework.security.web.access.intercept.FilterSecurityInterceptor was removed in org.springframework.security:spring-security-web 7.0.0 central.sonatype.com - Removed
org.springframework.security.web.access.intercept.RequestMatcherDelegatingAuthorizationManager.check
RequestMatcherDelegatingAuthorizationManager.check was removed in org.springframework.security:spring-security-web 7.0.0 central.sonatype.com - Removed
org.springframework.security.web.access.IpAddressAuthorizationManager.check
IpAddressAuthorizationManager.check was removed in org.springframework.security:spring-security-web 7.0.0 central.sonatype.com - Removed
org.springframework.security.web.authentication.LoginUrlAuthenticationEntryPoint.getPortResolver
LoginUrlAuthenticationEntryPoint.getPortResolver was removed in org.springframework.security:spring-security-web 7.0.0 central.sonatype.com - Removed
org.springframework.security.web.authentication.LoginUrlAuthenticationEntryPoint.setPortResolver
LoginUrlAuthenticationEntryPoint.setPortResolver was removed in org.springframework.security:spring-security-web 7.0.0 central.sonatype.com - Removed
org.springframework.security.web.context.SaveContextOnUpdateOrErrorResponseWrapper.addIntHeader
SaveContextOnUpdateOrErrorResponseWrapper.addIntHeader was removed in org.springframework.security:spring-security-web 7.0.0 central.sonatype.com - Removed
org.springframework.security.web.context.SaveContextOnUpdateOrErrorResponseWrapper.setHeader
SaveContextOnUpdateOrErrorResponseWrapper.setHeader was removed in org.springframework.security:spring-security-web 7.0.0 central.sonatype.com - Removed
org.springframework.security.web.context.SaveContextOnUpdateOrErrorResponseWrapper.setIntHeader
SaveContextOnUpdateOrErrorResponseWrapper.setIntHeader was removed in org.springframework.security:spring-security-web 7.0.0 central.sonatype.com - Removed
org.springframework.security.web.csrf.CookieCsrfTokenRepository.setCookieDomain
CookieCsrfTokenRepository.setCookieDomain was removed in org.springframework.security:spring-security-web 7.0.0 central.sonatype.com - Removed
org.springframework.security.web.csrf.CookieCsrfTokenRepository.setCookieHttpOnly
CookieCsrfTokenRepository.setCookieHttpOnly was removed in org.springframework.security:spring-security-web 7.0.0 central.sonatype.com - Removed
org.springframework.security.web.csrf.CookieCsrfTokenRepository.setCookieMaxAge
CookieCsrfTokenRepository.setCookieMaxAge was removed in org.springframework.security:spring-security-web 7.0.0 central.sonatype.com - Removed
org.springframework.security.web.csrf.CookieCsrfTokenRepository.setSecure
CookieCsrfTokenRepository.setSecure was removed in org.springframework.security:spring-security-web 7.0.0 central.sonatype.com - Removed
org.springframework.security.web.PortResolverImpl
org.springframework.security.web.PortResolverImpl was removed in org.springframework.security:spring-security-web 7.0.0 central.sonatype.com - Removed
org.springframework.security.web.savedrequest.DefaultSavedRequest.doesRequestMatch
DefaultSavedRequest.doesRequestMatch was removed in org.springframework.security:spring-security-web 7.0.0 central.sonatype.com - Removed
org.springframework.security.web.savedrequest.HttpSessionRequestCache.setPortResolver
HttpSessionRequestCache.setPortResolver was removed in org.springframework.security:spring-security-web 7.0.0 central.sonatype.com - Removed
org.springframework.security.web.savedrequest.SavedCookie.getComment
SavedCookie.getComment was removed in org.springframework.security:spring-security-web 7.0.0 central.sonatype.com - Removed
org.springframework.security.web.savedrequest.SavedCookie.getVersion
SavedCookie.getVersion was removed in org.springframework.security:spring-security-web 7.0.0 central.sonatype.com - Removed
org.springframework.security.web.server.authorization.DelegatingReactiveAuthorizationManager.check
DelegatingReactiveAuthorizationManager.check was removed in org.springframework.security:spring-security-web 7.0.0 central.sonatype.com - Removed
org.springframework.security.web.server.authorization.IpAddressReactiveAuthorizationManager.check
IpAddressReactiveAuthorizationManager.check was removed in org.springframework.security:spring-security-web 7.0.0 central.sonatype.com - Removed
org.springframework.security.web.server.csrf.CookieServerCsrfTokenRepository.setCookieDomain
CookieServerCsrfTokenRepository.setCookieDomain was removed in org.springframework.security:spring-security-web 7.0.0 central.sonatype.com - Removed
org.springframework.security.web.server.csrf.CookieServerCsrfTokenRepository.setCookieHttpOnly
CookieServerCsrfTokenRepository.setCookieHttpOnly was removed in org.springframework.security:spring-security-web 7.0.0 central.sonatype.com - Removed
org.springframework.security.web.server.csrf.CookieServerCsrfTokenRepository.setCookieMaxAge
CookieServerCsrfTokenRepository.setCookieMaxAge was removed in org.springframework.security:spring-security-web 7.0.0 central.sonatype.com - Removed
org.springframework.security.web.server.csrf.CookieServerCsrfTokenRepository.setSecure
CookieServerCsrfTokenRepository.setSecure was removed in org.springframework.security:spring-security-web 7.0.0 central.sonatype.com - Removed
org.springframework.security.web.servlet.util.matcher.MvcRequestMatcher
org.springframework.security.web.servlet.util.matcher.MvcRequestMatcher was removed in org.springframework.security:spring-security-web 7.0.0 central.sonatype.com - Removed
org.springframework.security.web.util.matcher.AntPathRequestMatcher
org.springframework.security.web.util.matcher.AntPathRequestMatcher was removed in org.springframework.security:spring-security-web 7.0.0 central.sonatype.com - Removed
org.springframework.security.web.util.OnCommittedResponseWrapper.addIntHeader
OnCommittedResponseWrapper.addIntHeader was removed in org.springframework.security:spring-security-web 7.0.0 central.sonatype.com - Removed
org.springframework.security.web.util.OnCommittedResponseWrapper.setHeader
OnCommittedResponseWrapper.setHeader was removed in org.springframework.security:spring-security-web 7.0.0 central.sonatype.com - Removed
org.springframework.security.web.util.OnCommittedResponseWrapper.setIntHeader
OnCommittedResponseWrapper.setIntHeader was removed in org.springframework.security:spring-security-web 7.0.0 central.sonatype.com - Removed
org.springframework.security.web.webauthn.api.AttestationConveyancePreference
org.springframework.security.web.webauthn.api.AttestationConveyancePreference was removed in org.springframework.security:spring-security-web 7.0.0 central.sonatype.com - Removed
org.springframework.security.web.webauthn.api.AuthenticationExtensionsClientInput
org.springframework.security.web.webauthn.api.AuthenticationExtensionsClientInput was removed in org.springframework.security:spring-security-web 7.0.0 central.sonatype.com - Removed
org.springframework.security.web.webauthn.api.AuthenticationExtensionsClientInputs
org.springframework.security.web.webauthn.api.AuthenticationExtensionsClientInputs was removed in org.springframework.security:spring-security-web 7.0.0 central.sonatype.com
And 67 more in this version. Sign up to see every change
org.springframework.security:spring-security-web 7.0.0-RC3 breaking changes
- Default changed
WebAuthnConfigurer.rpName
WebAuthnConfigurer#rpName now defaults to the rpId value when not set. github.com
org.springframework.security:spring-security-web 7.0.0-RC1 breaking changes
- Removed
Previously deprecated APIs are removed from Spring Security. Code using them must be updated. github.com - Removed
OidcReactiveOAuth2UserService.setOidcUserMapper
setOidcUserMapper() is removed from OidcReactiveOAuth2UserService. Code calling it must be updated. github.com - Removed
OidcUserService.setAccessibleScopes
setAccessibleScopes() is removed from OidcUserService. Code calling it must be updated. github.com - Removed
OidcUserService.setOidcUserMapper
setOidcUserMapper() is removed from OidcUserService. Code calling it must be updated. github.com - Behavior changed
OidcIdTokenDecoderFactory
The cache is removed from OidcIdTokenDecoderFactory and ReactiveOidcIdTokenDecoderFactory, changing how decoders are reused. github.com - Behavior changed
OidcUserService.setRetrieveUserInfo
setRetrieveUserInfo() now behaves the same in OidcUserService and OidcReactiveOAuth2UserService, which may change existing behavior. github.com - Behavior changed
ProviderManager.copyDetails
copyDetails can now return an Authentication of a different type than before. github.com - Default changed
The device code grant may be disabled by default, so users who rely on it must enable it explicitly. github.com - Default changed
PKCE is now enabled by default, which can change OAuth2 flows for existing clients. github.com - Default changed
Redirects are now relative by default, which can change redirect URLs existing code produces. github.com
org.springframework.security:spring-security-web 7.0.0-M3 breaking changes
- Removed
org.springframework.security.web.PortResolver
PortResolver is removed from Spring Security. Code that uses it must stop depending on it. central.sonatype.com - Behavior changed
Expression Templates are enabled by default, so expressions in existing configuration may now be evaluated differently. github.com - Behavior changed
AuthenticatedMatcher.withRoles
withRoles now checks only roles, so code relying on its previous checks may behave differently. github.com - Default changed
NimbusJwtDecoder
The default HTTP timeout of NimbusJwtDecoder is now 500ms to match Nimbus. github.com - Signature changed
A @Bean method's return type changed from BeanFactoryPostProcessor to RsaKeyConversionServicePostProcessor. github.com
org.springframework.security:spring-security-web 7.0.0-M2 breaking changes
- Removed
OpenSAML 4 support removed in org.springframework.security:spring-security-web 7.0.0-M2 github.com
org.springframework.security:spring-security-web 7.0.0-M1 breaking changes
- Removed
Deprecated classes moved to other packages removed in org.springframework.security:spring-security-web 7.0.0-M1 github.com - Removed
The .and() method and non-lambda DSL methods are removed. Use lambda DSL. github.com - Removed
Resource Owner Password Credentials grant removed in org.springframework.security:spring-security-web 7.0.0-M1 github.com - Removed
Deprecated elements removed from DaoAuthenticationProvider in org.springframework.security:spring-security-web 7.0.0-M1 github.com - Removed
Deprecated OAuth2AccessTokenResponseClient implementations removed in org.springframework.security:spring-security-web 7.0.0-M1 github.com - Removed
Open SAML implementations without version removed in org.springframework.security:spring-security-web 7.0.0-M1 github.com - Removed
ApacheDS support removed in org.springframework.security:spring-security-web 7.0.0-M1 github.com - Removed
AbstractSecurityWebSocketMessageBrokerConfigurer
AbstractSecurityWebSocketMessageBrokerConfigurer removed in org.springframework.security:spring-security-web 7.0.0-M1 github.com - Removed
AssertingPartyDetails
Use AssertingPartyMetadata instead of AssertingPartyDetails. github.com - Removed
AuthorizationDecision
Deprecated elements using AuthorizationDecision removed in org.springframework.security:spring-security-web 7.0.0-M1 github.com
And 17 more in this version. Sign up to see every change
Older versions
7 older versions, each with its first changes. Sign up to see every change
Show 7 older versions
org.springframework.security:spring-security-web 6.0.0 breaking changes
- Removed
org.springframework.security.web.authentication.logout.SecurityContextLogoutHandler.setSecurityContextRepository
SecurityContextLogoutHandler.setSecurityContextRepository was removed in org.springframework.security:spring-security-web 6.0.0 central.sonatype.com - Removed
org.springframework.security.web.authentication.switchuser.SwitchUserFilter.setSecurityContextRepository
SwitchUserFilter.setSecurityContextRepository was removed in org.springframework.security:spring-security-web 6.0.0 central.sonatype.com
And 295 more in this version.
org.springframework.security:spring-security-web 6.0.0-RC1 breaking changes
- Removed
Deprecated RequestMatcher methods were removed from Java Configuration. github.com - Removed
OpenSAML 3 support was removed; move to OpenSAML 4. github.com
And 18 more in this version.
org.springframework.security:spring-security-web 6.0.0-M7 breaking changes
- Removed
Encryptors.querableText
The unsafe deprecated method has been removed; code calling it will no longer compile. github.com - Removed
HttpSecurityConfiguration.setAuthenticationManager
The method has been removed; code calling it must be changed. github.com
And 3 more in this version.
org.springframework.security:spring-security-web 6.0.0-M6 breaking changes
- Removed
CustomUserTypesOAuth2UserService
The deprecated class has been removed and code using it will no longer compile. github.com - Removed
implicit authorization grant type
Support for the implicit grant type has been removed. github.com
And 2 more in this version.
org.springframework.security:spring-security-web 6.0.0-M4 breaking changes
- Behavior changed
Authorization checks are performed on every dispatch type, which can affect forwarded and included requests. github.com - Behavior changed
RequestRejectedException
Rejected requests now return HTTP 400 by default instead of the previous status. github.com
And 3 more in this version.
org.springframework.security:spring-security-web 6.0.0-M2 breaking changes
- Removed
The spring-security-openid module has been removed, so dependencies on it must be dropped or replaced. github.com
org.springframework.security:spring-security-web 6.0.0-M1 breaking changes
- Removed
HttpSecurityDsl
HttpSecurityDsl and related files moved to a different package, so imports referring to the old location must be updated. github.com
Related packages
- org.springframework.security:spring-security-config
- org.springframework.security:spring-security-core
- org.springframework.security:spring-security-data
- org.springframework.security:spring-security-test
- org.springframework.security:spring-security-taglibs
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.