NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Maven Central, #813 by repository stars
Spring Security
Latest stable
7.1.2
Last release 28 days ago
23 Oct 2026
Ships fairly regularly
a new release about every 4 weeks
Nearly every release is documented
notes for 59 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
12 years old
252 releases · first in 2015
Drag across the ruler to compare, or tap a release to open it.
Clarify the behavior of Concurrent Session Management when an IdP is involved #15071
@antora/collector-extension from 1.0.0-alpha.3 to 1.0.0-alpha.4 in /docs #15159@springio/antora-extensions from 1.10.0 to 1.11.1 in /docs #15141Thank you to all the contributors who worked on this release:
@dependabot[bot] and @theHacker
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Add getters to OAuth2AuthorizedClientId #13648
OAuth2AuthorizedClientId #13648Thank you to all the contributors who worked on this release:
@Crain-32, @Kehrlann, @MrJovanovic13, @ch4mpy, @dependabot[bot], @joaquinjsb, @kse-music, @madorb, @rishiraj88, and @vvaadd
Support ServerExchangeRejectedHandler @Bean #16061
@antora/collector-extension from 1.0.0-beta.4 to 1.0.0-beta.5 in /docs #16120Thank you to all the contributors who worked on this release:
@codeconsole, @dependabot[bot], @github-actions[bot], and @jacknie84
Disabling credentials erasure on custom AuthenticationManager is not working #15807
@PostFilter are processed twice by PostFilterAuthorizationMethodInterceptor #15675@PostFilter are processed twice by PostFilterAuthorizationMethodInterceptor #15651@antora/collector-extension from 1.0.0-beta.2 to 1.0.0-beta.3 in /docs #15910@springio/asciidoctor-extensions from 1.0.0-alpha.13 to 1.0.0-alpha.14 in /docs #15838Thank you to all the contributors who worked on this release:
@Junhyunny, @dependabot[bot], @github-actions[bot], @hwanders, and @ngocnhan-tran1996
ActiveDirectoryLdapAuthenticationProvider does not implement support for multiple urls #15494
CredentialsContainer #15320@antora/collector-extension from 1.0.0-alpha.4 to 1.0.0-alpha.6 in /docs #15445@antora/collector-extension from 1.0.0-alpha.6 to 1.0.0-alpha.7 in /docs #15488@antora/collector-extension from 1.0.0-alpha.7 to 1.0.0-beta.1 in /docs #15563@antora/collector-extension from 1.0.0-beta.1 to 1.0.0-beta.2 in /docs #15639@springio/antora-extensions from 1.11.1 to 1.12.0 in /docs #15415@springio/antora-extensions from 1.12.0 to 1.13.0 in /docs #15516@springio/antora-extensions from 1.13.0 to 1.13.1 in /docs #15562@springio/antora-extensions from 1.13.1 to 1.14.2 in /docs #15638@springio/asciidoctor-extensions from 1.0.0-alpha.10 to 1.0.0-alpha.11 in /docs #15414@springio/asciidoctor-extensions from 1.0.0-alpha.11 to 1.0.0-alpha.12 in /docs #15518Thank you to all the contributors who worked on this release:
@Junhyunny, @Kehrlann, @OLibutzki, @arey, @baezzys, and @dependabot[bot]
doc: added hint to declare GrantedAuthorityDefaults as infrastructure bean #15063
@antora/collector-extension from 1.0.0-alpha.3 to 1.0.0-alpha.4 in /docs #15163@springio/antora-extensions from 1.10.0 to 1.11.1 in /docs #15142Thank you to all the contributors who worked on this release:
@dependabot[bot]
SpaCsrfTokenRequestHandler(Kotlin) documented in csrf-integration-javascript-spa causes NullPointerException #14805
Thank you to all the contributors who worked on this release:
@dependabot[bot]
Structure101 Plugin Should Ignore Deprecated Files #14640
null Authentication #14666AuthorizationInterceptorsOrder #14723Thank you to all the contributors who worked on this release:
@dependabot[bot]
Configuration examples in docs are out of date #14392
HandlerMappingIntrospectorRequestTransformer is registered twice in AOT #14367OAuth2AuthorizationExchange is not serializable #14405WebTestUtilsTestRuntimeHints should implement RuntimeHintsRegistrar #14468SecurityContextRepository in CasAuthenticationFilter #14536HandlerMappingIntrospectorCachFilterFactoryBean #14377@WithMockUser fails with 401 UNAUTHORIZED with 3.2 #14207Thank you to all the contributors who worked on this release:
@Amitmahato, @andreasbuechel, @boulce, and @dependabot[bot]
docs: make XML and Java/Kotlin consistent with AspectJExpressionPointcut #14219
Thank you to all the contributors who worked on this release:
@ParkerM, @YangSiJun528, @aaron-to-go, @ahmd-nabil, @andreilisa, @dependabot[bot], @limvik, and @prufrock
AuthorizationManager[Before/After]ReactiveMethodInterceptor doesn't support Kotlin coroutines #12080
We'd like to thank all the contributors who worked on this release!
Bump Gradle Wrapper from 8.6 to 8.7 #14796
Thank you to all the contributors who worked on this release:
@dependabot[bot] and @github-actions[bot]
Check for null Authentication #14665
null Authentication #14665AuthorizationInterceptorsOrder #14722Thank you to all the contributors who worked on this release:
@dependabot[bot]
Fix Spring initializr link in 'Getting Spring Security' #14375
HandlerMappingIntrospectorRequestTransformer is registered twice in AOT #14362OAuth2AuthorizationExchange is not serializable #14402WebTestUtilsTestRuntimeHints should implement RuntimeHintsRegistrar #14399SecurityContextRepository in CasAuthenticationFilter #14529HandlerMappingIntrospectorCachFilterFactoryBean #14359Thank you to all the contributors who worked on this release:
@Siddharth1605, @acktsap, @boulce, @dependabot[bot], @github-actions[bot], @kcsurapaneni, @nkilchenmann, and @ty-v1
Document that Shibboleth Repository is Required for SAML Support #14294
Thank you to all the contributors who worked on this release:
@Ruffeng, @dependabot[bot], @github-actions[bot], @marbon87, and @sadidshaikh
Replace deprecated method #13649
AuthenticationManager @Bean without WebSecurityConfigurerAdapter #14015snapshot_tests on CI workflow #13878We'd like to thank all the contributors who worked on this release!
Automate spring-security.xsd #13825
We'd like to thank all the contributors who worked on this release!
Add MvcRequestMatcher reference documentation #13726
We'd like to thank all the contributors who worked on this release!
Improve RequestMatcher Validation #13557
hasIpAddress() Method After Migrating to authorizeHttpRequests() in Spring Security 6 #13478We'd like to thank all the contributors who worked on this release!
Improve javadoc about deprecation of .and() and non-Customizer methods #13273
We'd like to thank all the contributors who worked on this release!
Explain the rational about deprecating .and() and non-lambda DSL methods #13094
We'd like to thank all the contributors who worked on this release!
Document how to publish an AuthenticationManager @Bean without WebSecurityConfigurerAdapter #14014
AuthenticationManager @Bean without WebSecurityConfigurerAdapter #14014snapshot_tests on CI workflow #13877We'd like to thank all the contributors who worked on this release!
Automate spring-security.xsd #13824
We'd like to thank all the contributors who worked on this release!
requestMatchers servlet validation error should include information about servlet paths #13721
We'd like to thank all the contributors who worked on this release!
Improve RequestMatcher Validation #13556
hasIpAddress() Method After Migrating to authorizeHttpRequests() in Spring Security 6 #13477Deprecated hint on BasicAuthenticationFilter #13278
We'd like to thank all the contributors who worked on this release!
Remove deprecated SecurityContextPersistenceFilter from docs #12690
SecurityContextPersistenceFilter from docs #12690@EnableReactiveMethodSecurity causes premature initialization of the ObservationRegistry and prevents it from being post-processed #12780We'd like to thank all the contributors who worked on this release!
CsrfTokenRequestAttributeHandler documentation should reflect that default is XorCsrfTokenRequestAttributeHandler #12651
@EnableWebFluxSecurity requiring @Configuration in 6.0.0 #12444@Configuration Meta-Annotation Removal From Configuration Annotations #12498@EnableReactiveMethodSecurity#useAuthorizationManager should be true #12506@EnableWebSocketSecurity / Stomp #12378DefaultSaml2AuthenticatedPrincipal: LinkedMultiValueMap is not in the allowlist #12459We'd like to thank all the contributors who worked on this release!
Replace deprecated set-state set-output GitHub Action's commands #12299
EnableWebSecurity migration steps to 5.8 guide #12354We'd like to thank all the contributors who worked on this release!
Improve deprecation notice in WebSecurityConfigurerAdapter #12262
@WithSecurityContext #12215AuthorizationGrantType does not exactly match a pre-defined constant #12234We'd like to thank all the contributors who worked on this release!
Support ServerExchangeRejectedHandler @Bean #15976
@Bean #15976@antora/collector-extension from 1.0.0-beta.4 to 1.0.0-beta.5 in /docs #16114We'd like to thank all the contributors who worked on this release!
Address unnecessary method invocation in AbstractRequestMatcherRegistry #15718
@Secured annotations on … #15014@PostFilter are processed twice by PostFilterAuthorizationMethodInterceptor #15624@antora/collector-extension from 1.0.0-beta.2 to 1.0.0-beta.3 in /docs #15908@springio/asciidoctor-extensions from 1.0.0-alpha.13 to 1.0.0-alpha.14 in /docs #15837We'd like to thank all the contributors who worked on this release!
Document the role of CredentialsContainer #15319
CredentialsContainer #15319@antora/collector-extension from 1.0.0-alpha.4 to 1.0.0-alpha.6 in /docs #15447@antora/collector-extension from 1.0.0-alpha.6 to 1.0.0-alpha.7 in /docs #15484@antora/collector-extension from 1.0.0-alpha.7 to 1.0.0-beta.1 in /docs #15558@antora/collector-extension from 1.0.0-beta.1 to 1.0.0-beta.2 in /docs #15633@springio/antora-extensions from 1.11.1 to 1.12.0 in /docs #15417@springio/antora-extensions from 1.12.0 to 1.13.0 in /docs #15523@springio/antora-extensions from 1.13.0 to 1.13.1 in /docs #15559@springio/antora-extensions from 1.13.1 to 1.14.2 in /docs #15632@springio/asciidoctor-extensions from 1.0.0-alpha.10 to 1.0.0-alpha.11 in /docs #15416@springio/asciidoctor-extensions from 1.0.0-alpha.11 to 1.0.0-alpha.12 in /docs #15524We'd like to thank all the contributors who worked on this release!
doc: added hint to declare GrantedAuthorityDefaults as infrastructure bean #14779
@antora/collector-extension from 1.0.0-alpha.3 to 1.0.0-alpha.4 in /docs #15160@springio/antora-extensions from 1.10.0 to 1.11.1 in /docs #15140We'd like to thank all the contributors who worked on this release!
Conditional check for data-source-ref is incorrect #14742
We'd like to thank all the contributors who worked on this release!
Allow tab in HTTP header values. #14590
null Authentication #14664AuthorizationInterceptorsOrder #14720We'd like to thank all the contributors who worked on this release!
Updated broken documentation link in javadocs #14329
We'd like to thank all the contributors who worked on this release!
Document that Shibboleth Repository is Required for SAML Support #14286
We'd like to thank all the contributors who worked on this release!
Document how to publish an AuthenticationManager @Bean without WebSecurityConfigurerAdapter #11926
AuthenticationManager @Bean without WebSecurityConfigurerAdapter #11926snapshot_tests on CI workflow #13876We'd like to thank all the contributors who worked on this release!
Automate spring-security.xsd #13823
Closes #11450 - Add Java beans configuration for Remmember Me Docs #13570
We'd like to thank all the contributors who worked on this release!
Improve RequestMatcher Validation #13551
Convert to Asciidoctor Tabs #13405
We'd like to thank all the contributors who worked on this release!
Clarify documentation code snippet(s) (unclear where static imported methods come from) #12991
We'd like to thank all the contributors who worked on this release!
Add XorCsrfChannelInterceptor #12562
@EnableWebFluxSecurity requiring @Configuration in 6.0.0 #12434@Configuration Meta-Annotation Removal From Configuration Annotations #12486DefaultSaml2AuthenticatedPrincipal: LinkedMultiValueMap is not in the allowlist #12458We'd like to thank all the contributors who worked on this release!
Replace deprecated set-state set-output GitHub Action's commands #12298
EnableWebSecurity migration steps to 5.8 guide #12334We'd like to thank all the contributors who worked on this release!
Deprecate Resource Owner Password Credentials grant #11591
requestMatchers and securityMatchers #12100We'd like to thank all the contributors who worked on this release!
Support ServerExchangeRejectedHandler @Bean #15975
Nothing published for this version
Check for null Authentication #14715
null Authentication #14715Automate spring-security.xsd #13819
Use default PathPatternParser instance #13461
Convert to Asciidoctor Tabs #13404
We'd like to thank all the contributors who worked on this release!
Clarify documentation code snippet(s) (unclear where static imported methods come from) #6597
We'd like to thank all the contributors who worked on this release!
chore: Use cache in continuous-integration-workflow.yml #12503
DefaultSaml2AuthenticatedPrincipal: LinkedMultiValueMap is not in the allowlist #11785We'd like to thank all the contributors who worked on this release!
Improve deprecation notice in WebSecurityConfigurerAdapter #12260
Fix AuthorizationFilter incorrectly extending OncePerRequestFilter #12113
automatically manage docs version (with collector) #11955
Update javadoc of EnableWebSecurity to reflect deprecation of WebSecurityConfigurerAdapter #11650
Consider updating testing examples to use JUnit Jupiter #11293
@Query #11289We'd like to thank all the contributors who worked on this release!
One column per quarter.