org.springframework.security:spring-security-core 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-core 7.0.0 breaking changes
- Removed
org.springframework.security.access.AccessDecisionManager
org.springframework.security.access.AccessDecisionManager was removed in org.springframework.security:spring-security-core 7.0.0 central.sonatype.com - Removed
org.springframework.security.access.AccessDecisionVoter
org.springframework.security.access.AccessDecisionVoter was removed in org.springframework.security:spring-security-core 7.0.0 central.sonatype.com - Removed
org.springframework.security.access.AfterInvocationProvider
org.springframework.security.access.AfterInvocationProvider was removed in org.springframework.security:spring-security-core 7.0.0 central.sonatype.com - Removed
org.springframework.security.access.annotation.AnnotationMetadataExtractor
org.springframework.security.access.annotation.AnnotationMetadataExtractor was removed in org.springframework.security:spring-security-core 7.0.0 central.sonatype.com - Removed
org.springframework.security.access.annotation.Jsr250MethodSecurityMetadataSource
org.springframework.security.access.annotation.Jsr250MethodSecurityMetadataSource was removed in org.springframework.security:spring-security-core 7.0.0 central.sonatype.com - Removed
org.springframework.security.access.annotation.Jsr250SecurityConfig
org.springframework.security.access.annotation.Jsr250SecurityConfig was removed in org.springframework.security:spring-security-core 7.0.0 central.sonatype.com - Removed
org.springframework.security.access.annotation.Jsr250Voter
org.springframework.security.access.annotation.Jsr250Voter was removed in org.springframework.security:spring-security-core 7.0.0 central.sonatype.com - Removed
org.springframework.security.access.annotation.SecuredAnnotationSecurityMetadataSource
org.springframework.security.access.annotation.SecuredAnnotationSecurityMetadataSource was removed in org.springframework.security:spring-security-core 7.0.0 central.sonatype.com - Removed
org.springframework.security.access.ConfigAttribute
org.springframework.security.access.ConfigAttribute was removed in org.springframework.security:spring-security-core 7.0.0 central.sonatype.com - Removed
org.springframework.security.access.event.AbstractAuthorizationEvent
org.springframework.security.access.event.AbstractAuthorizationEvent was removed in org.springframework.security:spring-security-core 7.0.0 central.sonatype.com - Removed
org.springframework.security.access.event.AuthenticationCredentialsNotFoundEvent
org.springframework.security.access.event.AuthenticationCredentialsNotFoundEvent was removed in org.springframework.security:spring-security-core 7.0.0 central.sonatype.com - Removed
org.springframework.security.access.event.AuthorizationFailureEvent
org.springframework.security.access.event.AuthorizationFailureEvent was removed in org.springframework.security:spring-security-core 7.0.0 central.sonatype.com - Removed
org.springframework.security.access.event.AuthorizedEvent
org.springframework.security.access.event.AuthorizedEvent was removed in org.springframework.security:spring-security-core 7.0.0 central.sonatype.com - Removed
org.springframework.security.access.event.LoggerListener
org.springframework.security.access.event.LoggerListener was removed in org.springframework.security:spring-security-core 7.0.0 central.sonatype.com - Removed
org.springframework.security.access.event.PublicInvocationEvent
org.springframework.security.access.event.PublicInvocationEvent was removed in org.springframework.security:spring-security-core 7.0.0 central.sonatype.com - Removed
org.springframework.security.access.expression.method.ExpressionBasedAnnotationAttributeFactory
org.springframework.security.access.expression.method.ExpressionBasedAnnotationAttributeFactory was removed in org.springframework.security:spring-security-core 7.0.0 central.sonatype.com - Removed
org.springframework.security.access.expression.method.ExpressionBasedPostInvocationAdvice
org.springframework.security.access.expression.method.ExpressionBasedPostInvocationAdvice was removed in org.springframework.security:spring-security-core 7.0.0 central.sonatype.com - Removed
org.springframework.security.access.expression.method.ExpressionBasedPreInvocationAdvice
org.springframework.security.access.expression.method.ExpressionBasedPreInvocationAdvice was removed in org.springframework.security:spring-security-core 7.0.0 central.sonatype.com - Removed
org.springframework.security.access.hierarchicalroles.RoleHierarchyImpl.<init>
RoleHierarchyImpl.<init> was removed in org.springframework.security:spring-security-core 7.0.0 central.sonatype.com - Removed
org.springframework.security.access.hierarchicalroles.RoleHierarchyImpl.setHierarchy
RoleHierarchyImpl.setHierarchy was removed in org.springframework.security:spring-security-core 7.0.0 central.sonatype.com - Removed
org.springframework.security.access.intercept.AbstractSecurityInterceptor
org.springframework.security.access.intercept.AbstractSecurityInterceptor was removed in org.springframework.security:spring-security-core 7.0.0 central.sonatype.com - Removed
org.springframework.security.access.intercept.AfterInvocationManager
org.springframework.security.access.intercept.AfterInvocationManager was removed in org.springframework.security:spring-security-core 7.0.0 central.sonatype.com - Removed
org.springframework.security.access.intercept.AfterInvocationProviderManager
org.springframework.security.access.intercept.AfterInvocationProviderManager was removed in org.springframework.security:spring-security-core 7.0.0 central.sonatype.com - Removed
org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor
org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor was removed in org.springframework.security:spring-security-core 7.0.0 central.sonatype.com - Removed
org.springframework.security.access.intercept.aopalliance.MethodSecurityMetadataSourceAdvisor
org.springframework.security.access.intercept.aopalliance.MethodSecurityMetadataSourceAdvisor was removed in org.springframework.security:spring-security-core 7.0.0 central.sonatype.com - Removed
org.springframework.security.access.intercept.aspectj.AspectJCallback
org.springframework.security.access.intercept.aspectj.AspectJCallback was removed in org.springframework.security:spring-security-core 7.0.0 central.sonatype.com - Removed
org.springframework.security.access.intercept.aspectj.AspectJMethodSecurityInterceptor
org.springframework.security.access.intercept.aspectj.AspectJMethodSecurityInterceptor was removed in org.springframework.security:spring-security-core 7.0.0 central.sonatype.com - Removed
org.springframework.security.access.intercept.aspectj.MethodInvocationAdapter
org.springframework.security.access.intercept.aspectj.MethodInvocationAdapter was removed in org.springframework.security:spring-security-core 7.0.0 central.sonatype.com - Removed
org.springframework.security.access.intercept.InterceptorStatusToken
org.springframework.security.access.intercept.InterceptorStatusToken was removed in org.springframework.security:spring-security-core 7.0.0 central.sonatype.com - Removed
org.springframework.security.access.intercept.MethodInvocationPrivilegeEvaluator
org.springframework.security.access.intercept.MethodInvocationPrivilegeEvaluator was removed in org.springframework.security:spring-security-core 7.0.0 central.sonatype.com - Removed
org.springframework.security.access.intercept.RunAsImplAuthenticationProvider
org.springframework.security.access.intercept.RunAsImplAuthenticationProvider was removed in org.springframework.security:spring-security-core 7.0.0 central.sonatype.com - Removed
org.springframework.security.access.intercept.RunAsManager
org.springframework.security.access.intercept.RunAsManager was removed in org.springframework.security:spring-security-core 7.0.0 central.sonatype.com - Removed
org.springframework.security.access.intercept.RunAsManagerImpl
org.springframework.security.access.intercept.RunAsManagerImpl was removed in org.springframework.security:spring-security-core 7.0.0 central.sonatype.com - Removed
org.springframework.security.access.intercept.RunAsUserToken
org.springframework.security.access.intercept.RunAsUserToken was removed in org.springframework.security:spring-security-core 7.0.0 central.sonatype.com - Removed
org.springframework.security.access.method.AbstractFallbackMethodSecurityMetadataSource
org.springframework.security.access.method.AbstractFallbackMethodSecurityMetadataSource was removed in org.springframework.security:spring-security-core 7.0.0 central.sonatype.com - Removed
org.springframework.security.access.method.AbstractMethodSecurityMetadataSource
org.springframework.security.access.method.AbstractMethodSecurityMetadataSource was removed in org.springframework.security:spring-security-core 7.0.0 central.sonatype.com - Removed
org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource
org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource was removed in org.springframework.security:spring-security-core 7.0.0 central.sonatype.com - Removed
org.springframework.security.access.method.MapBasedMethodSecurityMetadataSource
org.springframework.security.access.method.MapBasedMethodSecurityMetadataSource was removed in org.springframework.security:spring-security-core 7.0.0 central.sonatype.com - Removed
org.springframework.security.access.method.MethodSecurityMetadataSource
org.springframework.security.access.method.MethodSecurityMetadataSource was removed in org.springframework.security:spring-security-core 7.0.0 central.sonatype.com - Removed
org.springframework.security.access.method.P
org.springframework.security.access.method.P was removed in org.springframework.security:spring-security-core 7.0.0 central.sonatype.com - Removed
org.springframework.security.access.prepost.PostInvocationAdviceProvider
org.springframework.security.access.prepost.PostInvocationAdviceProvider was removed in org.springframework.security:spring-security-core 7.0.0 central.sonatype.com - Removed
org.springframework.security.access.prepost.PostInvocationAttribute
org.springframework.security.access.prepost.PostInvocationAttribute was removed in org.springframework.security:spring-security-core 7.0.0 central.sonatype.com - Removed
org.springframework.security.access.prepost.PostInvocationAuthorizationAdvice
org.springframework.security.access.prepost.PostInvocationAuthorizationAdvice was removed in org.springframework.security:spring-security-core 7.0.0 central.sonatype.com - Removed
org.springframework.security.access.prepost.PreInvocationAttribute
org.springframework.security.access.prepost.PreInvocationAttribute was removed in org.springframework.security:spring-security-core 7.0.0 central.sonatype.com - Removed
org.springframework.security.access.prepost.PreInvocationAuthorizationAdvice
org.springframework.security.access.prepost.PreInvocationAuthorizationAdvice was removed in org.springframework.security:spring-security-core 7.0.0 central.sonatype.com - Removed
org.springframework.security.access.prepost.PreInvocationAuthorizationAdviceVoter
org.springframework.security.access.prepost.PreInvocationAuthorizationAdviceVoter was removed in org.springframework.security:spring-security-core 7.0.0 central.sonatype.com - Removed
org.springframework.security.access.prepost.PrePostAdviceReactiveMethodInterceptor
org.springframework.security.access.prepost.PrePostAdviceReactiveMethodInterceptor was removed in org.springframework.security:spring-security-core 7.0.0 central.sonatype.com - Removed
org.springframework.security.access.prepost.PrePostAnnotationSecurityMetadataSource
org.springframework.security.access.prepost.PrePostAnnotationSecurityMetadataSource was removed in org.springframework.security:spring-security-core 7.0.0 central.sonatype.com - Removed
org.springframework.security.access.prepost.PrePostInvocationAttributeFactory
org.springframework.security.access.prepost.PrePostInvocationAttributeFactory was removed in org.springframework.security:spring-security-core 7.0.0 central.sonatype.com - Removed
org.springframework.security.access.SecurityConfig
org.springframework.security.access.SecurityConfig was removed in org.springframework.security:spring-security-core 7.0.0 central.sonatype.com
And 45 more in this version. Sign up to see every change
org.springframework.security:spring-security-core 7.0.0-RC3 breaking changes
- Default changed
WebAuthnConfigurer.rpName
WebAuthnConfigurer#rpName now defaults to rpId when not set. github.com
org.springframework.security:spring-security-core 7.0.0-RC2 breaking changes
- Renamed
EnableGlobalMultiFactorAuthentication
EnableGlobalMultiFactorAuthentication is renamed to EnableMultiFactorAuthentication. github.com - Behavior changed
MFA
Multi-factor authentication now requires explicit opt-in, changing existing MFA setup. github.com
org.springframework.security:spring-security-core 7.0.0-RC1 breaking changes
- Removed
Deprecations
Previously deprecated APIs are removed in this release. github.com - Removed
OidcUserService.setAccessibleScopes
setAccessibleScopes() is removed from OidcUserService. github.com - Removed
OidcUserService.setOidcUserMapper
setOidcUserMapper() is removed from OidcUserService and OidcReactiveOAuth2UserService. github.com - Behavior changed
OidcUserService.setRetrieveUserInfo
setRetrieveUserInfo() behavior is aligned between OidcUserService and OidcReactiveOAuth2UserService, which can change user info retrieval. github.com - Default changed
PKCE
PKCE is now enabled by default, which changes the authorization requests sent by existing code. github.com - Signature changed
spring-security-config
Some methods in spring-security-config no longer declare throws Exception, which can break code that catches it. github.com
org.springframework.security:spring-security-core 7.0.0-M3 breaking changes
- Removed
PortResolver
PortResolver is removed in this release; code that uses it must be changed. github.com - Behavior changed
Expression templates are now supported by default, which can change how expressions in existing configuration are evaluated. github.com - Behavior changed
NimbusJwtDecoder
The default HTTP timeouts of NimbusJwtDecoder are now 500ms to match Nimbus. github.com
org.springframework.security:spring-security-core 7.0.0-M2 breaking changes
- Removed
Removes OpenSAML 4 support in org.springframework.security:spring-security-core 7.0.0-M2 github.com - Behavior changed
IpAddressMatcher
IpAddressMatcher now applies a stricter IP format check in org.springframework.security:spring-security-core 7.0.0-M2 github.com
Older versions
8 older versions, each with its first changes. Sign up to see every change
Show 8 older versions
org.springframework.security:spring-security-core 7.0.0-M1 breaking changes
- Removed
Removes no-version OpenSAML implementations in org.springframework.security:spring-security-core 7.0.0-M1 github.com - Removed
Removes usage of PathMatcher in messaging in org.springframework.security:spring-security-core 7.0.0-M1 github.com
And 31 more in this version.
org.springframework.security:spring-security-core 6.0.0 breaking changes
- Removed
org.springframework.security.authentication.rcp.RemoteAuthenticationException
org.springframework.security.authentication.rcp.RemoteAuthenticationException was removed in org.springframework.security:spring-security-core 6.0.0 central.sonatype.com - Removed
org.springframework.security.authentication.rcp.RemoteAuthenticationManager
org.springframework.security.authentication.rcp.RemoteAuthenticationManager was removed in org.springframework.security:spring-security-core 6.0.0 central.sonatype.com
And 5 more in this version.
org.springframework.security:spring-security-core 6.0.0-RC1 breaking changes
- Removed
Deprecated OpenSAML 3 support has been removed. github.com - Removed
Deprecated RequestMatcher methods in Java Configuration have been removed. github.com
And 19 more in this version.
org.springframework.security:spring-security-core 6.0.0-M7 breaking changes
- Removed
Encryptors.querableText
The unsafe and deprecated Encryptors.querableText method was removed. github.com - Removed
HttpSecurityConfiguration.setAuthenticationManager
The setAuthenticationManager method was removed from HttpSecurityConfiguration. github.com
And 4 more in this version.
org.springframework.security:spring-security-core 6.0.0-M6 breaking changes
- Removed
AbstractOAuth2AuthorizationGrantRequest
Deprecated members of AbstractOAuth2AuthorizationGrantRequest were removed. github.com - Removed
allowMultipleAuthorizationRequests
The deprecated allowMultipleAuthorizationRequests option was removed. github.com
And 17 more in this version.
org.springframework.security:spring-security-core 6.0.0-M4 breaking changes
- Removed
ExceptionTranslationWebFilter
ExceptionTranslationWebFilter no longer implements MessageSourceAware. github.com - Behavior changed
Authorization is checked on every dispatch type by default, which can change behavior for forwarded and error dispatches. github.com
And 3 more in this version.
org.springframework.security:spring-security-core 6.0.0-M2 breaking changes
- Removed
The spring-security-openid module was removed; code depending on it must move to other means of authentication. github.com - Behavior changed
ClientAuthenticationMethod
equals and hashCode of ClientAuthenticationMethod were changed to be consistent, which can change results when used in collections. github.com
org.springframework.security:spring-security-core 6.0.0-M1 breaking changes
- Renamed
HttpSecurityDsl
HttpSecurityDsl and common files moved to the annotation package, so imports referencing the old package must change. github.com
Related packages
- org.springframework.security:spring-security-config
- org.springframework.security:spring-security-data
- org.springframework.security:spring-security-test
- org.springframework.security:spring-security-web
- 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.