NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Maven Central
Maven Central, #800 by repository stars
Spring Security
Latest stable
7.1.2
Last release 1 months 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
8 years old
200 releases · first in 2018
Drag across the ruler to compare, or tap a release to open it.
Improve WebAuthn Registration Page no-script Handling
application/x-www-form-urlencoded in OpaqueTokenIntrospector@antora/atlas-extension from 1.0.0-alpha.5 to 1.0.0-alpha.6 in /docsThank you to all the contributors who worked on this release:
@ziqin
Your coding agent can read these notes before it upgrades. Set up the MCP server →
@EnableMethodSecurity should pick up PermissionEvaluator bean
@EnableMethodSecurity should pick up PermissionEvaluator beanThank you to all the contributors who worked on this release:
@Siggen, @anthonydahanne, @avsan, @iain-henderson, @morokosi, @rwinch, and @sunghyun1999
Add Implicit CorsConfigurationSource/PreFlightRequestHandler Detection to XML Namespace #19542
<cors> XML Namespace #19542DefaultLoginPageGeneratingFilter Javadoc Link #19252AuthorizationDecision Cast #19283OAuth2PushedAuthorizationRequestUri parsing #19445FAILURE: Build failed with an exception.
Thank you to all the contributors who worked on this release:
@therepanic
Avoid spring-core in password encoder validation
@antora/atlas-extension from 1.0.0-alpha.5 to 1.0.0-alpha.6 in /docsThank you to all the contributors who worked on this release:
@evgeniycheban, @petergphillips, and @seonwooj0810
Fix Broken DefaultLoginPageGeneratingFilter Javadoc Link #19252
DefaultLoginPageGeneratingFilter Javadoc Link #19252AuthorizationDecision Cast #19283OAuth2PushedAuthorizationRequestUri parsing #19445@springio/antora-extensions from 1.14.12 to 1.14.13 in /docs #19503Opaque token introspectors should not allow empty credentials #19201
@springio/antora-extensions from 1.14.11 to 1.14.12 in /docs #19235Add AllRequiredFactorsAuthorizationManager.anyOf #18960
AllRequiredFactorsAuthorizationManager.anyOf #18960PreFlightRequestFilter Support #18926@WithSecurityContext thread scope #18812@springio/antora-extensions from 1.14.7 to 1.14.9 in /docs #18946@springio/antora-extensions from 1.14.9 to 1.14.10 in /docs #19030@springio/antora-extensions from 1.14.9 to 1.14.11 in /docs #19053@springio/asciidoctor-extensions from 1.0.0-alpha.17 to 1.0.0-alpha.18 in /docs #18913Thank you to all the contributors who worked on this release:
@aspan, @dasog94, @evgeniycheban, @franticticktick, @gbaso, @jkuhel, @ribafish, @rwinch, @suuuuuuminnnnnn, @therepanic, @wonderfulrosemari, @yxinot, and @ziqin
Add postProcessor to SpringOpaqueTokenIntrospector Builders #18625
postProcessor to SpringOpaqueTokenIntrospector Builders #18625PasswordEncoder#encode implementations #18490ActiveDirectoryLdapAuthenticationProvider to use LdapClient #18627CsrfTokenRequestAttributeHandler#setCsrfRequestAttributeName as Nullable #18620@Nullable in Switch User and FactorGrantedAuthority #18765WWW-Authenticate for Basic Auth #18760OAuth2AuthenticatedPrincipal in Jwt-based authentication flow #17191RsaKeyConverters #18599@param response Javadoc (cannot be null) #18795targetDomainObject as @Nullable in PermissionEvaluator #18796@antora/collector-extension from 1.0.2 to 1.0.3 #18851@antora/collector-extension from 1.0.2 to 1.0.3 in /docs #18852Thank you to all the contributors who worked on this release:
@023-dev, @DDINGJOO, @Hann244, @chanani, @coehgns, @earlgrey02, @evgeniycheban, @itsmevichu, @jkuhel, @joshlong, @kimyounguk1, @kmw10693, @ngocnhan-tran1996, @nidhogg5, @pahlevani, @rwinch, @scordio, @therepanic, and @wonderfulrosemari
Fail on compiler warnings for spring-security-javascript #18569
TestingAuthenticationToken.credentials should be @Nullable #18615@Nullable to changePassword parameters in UserDetailsManager #18271@Nullable to setters of Nullable fields #18618@NullUnmarked #18491Thank you to all the contributors who worked on this release:
@JiHunparkkk, @Kehrlann, @NYgomets, @ParamjotSingh5, @alpin87, @austinhong22, @bloomsei, @c-arianna, @chanjin23, @cmmttd, @coehgns, @congcoding, @dasog94, @dlwldnjs1009, @gisu1102, @jayychoi, @jieun-dev1, @kse-music, @ngocnhan-tran1996, @pocj8ur4in, @ronodhirSoumik, @therepanic, @thuri, and @zooo-code
Replacing use of deprecated 'check' in authorization documentation #18471
PasswordEncoder#encode #18334@NullMarked #18514Thank you to all the contributors who worked on this release:
@dasog94, @marcusdacoregio, @paulvas, @qkrrlgus114, and @scordio
AuthenticatorTransport#values should include SMART\_CARD
@antora/atlas-extension from 1.0.0-alpha.5 to 1.0.0-alpha.6 in /docsThank you to all the contributors who worked on this release:
@Kehrlann, @bdshadow, @ngocnhan-tran1996, @therepanic, and @ttddyy
Fix Broken DefaultLoginPageGeneratingFilter Javadoc Link #19252
DefaultLoginPageGeneratingFilter Javadoc Link #19252AuthorizationDecision Cast #19283OAuth2PushedAuthorizationRequestUri parsing #19445@springio/antora-extensions from 1.14.12 to 1.14.13 in /docs #19504Thank you to all the contributors who worked on this release:
@ArzMeow, @big-cir, @junhyeong9812, @jyx-07, @ngocnhan-tran1996, @skdas20, @snowykte0426, and @therepanic
FormPostRedirectStrategy should not emit percent-encoded values into hidden form inputs #19137
FormPostRedirectStrategy should not emit percent-encoded values into hidden form inputs #19137Add XML Based shouldWriteHeadersEagerly tests #19018
@springio/antora-extensions from 1.14.10 to 1.14.11 in /docs #19054@springio/antora-extensions from 1.14.7 to 1.14.9 in /docs #18953@springio/antora-extensions from 1.14.9 to 1.14.10 in /docs #19029@springio/asciidoctor-extensions from 1.0.0-alpha.17 to 1.0.0-alpha.18 in /docs #18957Thank you to all the contributors who worked on this release:
@rwinch
Update RestTemplateBuilder usage in opaque-token.adoc #18836
RestTemplateBuilder usage in opaque-token.adoc #18836@antora/collector-extension from 1.0.2 to 1.0.3 in /docs #18853Thank you to all the contributors who worked on this release:
@busoco-sjb, @making, @meliezer, @ngocnhan-tran1996, @rwinch, @sephiroth-j, @therepanic, @thuri, and @ziqin
Fix/gradle 9 deprecations #18485
Thank you to all the contributors who worked on this release:
@Been24, @Fr05ty-hub, @Kehrlann, @Rigu1, @bloomsei, @martinboulais, @ngocnhan-tran1996, @paulvas, @rwinch, @therepanic, and @vincentstradiot
AuthorizationWebProxyConfiguration should only be active when both spring-security-web and spring-webmvc are on the classpath #18315
spring-security-web and spring-webmvc are on the classpath #18315Stop deploying JavaDoc outside of Antora #18200
Thank you to all the contributors who worked on this release:
@L33gn21, @ghusta, @ronodhirSoumik, @rwinch, @sach429, and @ziqin
Add a minimal authorization server configuration #18153
GrantedAuthority#getAuthority as @Nullable #18014Thank you to all the contributors who worked on this release:
@Kehrlann, @SimonVonXCVII, @quaff, and @therepanic
Default WebAuthnConfigurer#rpName to rpId #18132
WebAuthnAuthenticationFilter is not getting post-processed by EnableMfaFiltersPostProcessor #18128@Nullable #18046EnableGlobalMultiFactorAuthentication->EnableMultiFactorAuthentication #18127
Add Jackson 3 support and deprecate Jackson 2 one #17832
@EnableGlobalMultiFactorAuthentication #17954GrantedAuthorities.FACTOR_*_AUTHORITY #17952RequiredFactor.Builder.<factor-name>Authority() #18033TestingAuthenticationToken(Object principal,Object credential,String... authorities) #17980AuthorizationManager<? super RequestAuthorizationContext> #17931AuthorizationManagerFactory in Kotlin DSL #17860CacheControlServerHttpHeadersWriter.CACHE_CONTRTOL_VALUE #18058HttpSecurity.securityMatcher #17965GrantedAuthority#getAuthority() at time of Authentication #17981Thank you to all the contributors who worked on this release:
Full Changelog: https://github.com/spring-projects/spring-security/compare/7.0.0-M3...7.0.0-RC1
Support Expression Templates by Default #17763
discoverJwsAlgorithms() in NimbusJwtDecoder #17788RSocketSecurity #17159@Bean method signature to return RsaKeyConversionServicePostProcessor instead of BeanFactoryPostProcessor #17672@ClientRegistrationId at Class Level #17838Supplier<? extends @Nullable Authentication> #17814@antora/atlas-extension from 1.0.0-alpha.2 to 1.0.0-alpha.5 in /docs #17886Thank you to all the contributors who worked on this release:
@bbudano, @blake-bauman, @frido37, @jaehwan02, @jzheaux, @kse-music, @mehrdadbozorgmehr, @ngocnhan-tran1996, @quaff, @sjohnr, and @therepanic
Add ExpressionTemplateValueProvider #17448
@NonNull and @Nullable package name #17512IpAddressMatcher #17500@antora/collector-extension from 1.0.1 to 1.0.2 in /docs #17712@springio/antora-extensions from 1.14.6 to 1.14.7 in /docs #17564Thank you to all the contributors who worked on this release:
@DeepDhamala, @chanbinme, @mheath, @ml054, @ngocnhan-tran1996, @seongm1n, and @therepanic
Address BouncyCastle's deprecated AESFastEngine usage #16164
authorizeRequests #15174LdapName instead of DistinguishedName #17325Base64StringKeyGenerator #17091@springio/antora-extensions from 1.14.4 to 1.14.6 in /docs #17515Thank you to all the contributors who worked on this release:
@1livv, @DeepDhamala, @FerencKemeny, @GrmpfNarf, @JohnNiang, @Lidoca, @M-Faheem-Khan, @Shenker93, @big-cir, @chanbinme, @chschu, @evga7, @evgeniycheban, @fa11enangel, @felhag, @fjacobs, @franticticktick, @gamemock, @huhdy32, @kiruthiga1793, @kse-music, @marbon87, @milaneuh, @msqr, @ngocnhan-tran1996, @pat-mccusker, @quaff, @ronodhirSoumik, @rwinch, @surajbh123, @therepanic, @wapkch, and @yuezk
FormPostRedirectStrategy should not emit percent-encoded values into hidden form inputs #19136
FormPostRedirectStrategy should not emit percent-encoded values into hidden form inputs #19136Add CredentialRecordOwnerAuthorizationManager #19004
FilterChainProxy#getFilters(String) javadoc #18258HttpMethodRequestMatcher #18914HttpSessionRequestCache#getMatchingRequest query string parsing #16914@springio/antora-extensions from 1.14.10 to 1.14.11 in /docs #19055@springio/antora-extensions from 1.14.7 to 1.14.9 in /docs #18956@springio/antora-extensions from 1.14.9 to 1.14.10 in /docs #19031@springio/asciidoctor-extensions from 1.0.0-alpha.17 to 1.0.0-alpha.18 in /docs #18952Thank you to all the contributors who worked on this release:
@Kehrlann, @as1605, @johnycho, @ngocnhan-tran1996, @rwinch, and @sankranty
Update Link to CSRF Docs in FAQ #18616
saveAuthenticationRequest should read relayState from authenticationRequest #18872@antora/collector-extension from 1.0.2 to 1.0.3 in /docs #18854Thank you to all the contributors who worked on this release:
@Hann244, @Khyojae, @ghusta, @itsmevichu, @qihaiyan, @rwinch, @therepanic, and @ziqin
Add @FunctionalInterface to RequestMatcher #18337
@FunctionalInterface to RequestMatcher #18337@antora/atlas-extension from 1.0.0-alpha.2 to 1.0.0-alpha.5 in /docs #18675@antora/collector-extension from 1.0.1 to 1.0.2 in /docs #18677@springio/antora-extensions from 1.14.4 to 1.14.7 in /docs #18676Thank you to all the contributors who worked on this release:
@garvit-joshi, @ghusta, @kucoll, and @rwinch
Add Include-Code for the Password Storage page #18054
typ values should not be case-sensitive in JwtTypeValidator #18101Thank you to all the contributors who worked on this release:
@himanshu-pareek, @marcusdacoregio, and @namest504
Bump ch.qos.logback:logback-classic from 1.5.19 to 1.5.20 #18082
Bump io.micrometer:micrometer-observation from 1.14.10 to 1.14.11 #17922
Update servlet test method docs to use include-code #17749
Thank you to all the contributors who worked on this release:
@jkuhel and @therepanic
Add META-INF/LICENSE.txt to published jars #17639
Thank you to all the contributors who worked on this release:
@codingtim
should pick up a bean named csrfChannelInterceptor #17495
<websocket-message-broker> should pick up a bean named csrfChannelInterceptor #17495PathPatternRequestMatcher to include HTTP method #17337Thank you to all the contributors who worked on this release:
@fkowal and @therepanic
Create demonstration of include-code usage #17161
tokenAuthenticationManager cannot be null while startup #17172Thank you to all the contributors who worked on this release:
@evgeniycheban
Add documentation for DPoP support #17072
Thank you to all the contributors who worked on this release:
@dkowis, @franticticktick, @hammadirshad, @jearton, @ngocnhan-tran1996, @quaff, and @yybmion
Default WebAuthnConfigurer#rpName to rpId #18115
Thank you to all the contributors who worked on this release:
@Kehrlann
Bump ch.qos.logback:logback-classic from 1.5.19 to 1.5.20 #18080
Bump io.micrometer:micrometer-observation from 1.14.9 to 1.14.11 #17921
Annonation Scanning Should Fallback to Object when Parameter Matching #17898
Thank you to all the contributors who worked on this release:
@nkonev
Add META-INF/LICENSE.txt to published jars #17638
should pick up a bean named csrfChannelInterceptor #17494
<websocket-message-broker> should pick up a bean named csrfChannelInterceptor #17494Thank you to all the contributors who worked on this release:
@kse-music and @marcusdacoregio
ClearSiteDataHeaderWriter log is misleading #17165
ReactiveAuthorizationManagerMethodSecurityConfiguration #17197Thank you to all the contributors who worked on this release:
@damable-nuvolex
Bump Gradle Wrapper from 8.13 to 8.14 #17017
Add link to docs zip file to the reference #16799
http.adoc #16784ServerBearerTokenAuthenticationConverter validates parameters when not enabled #16901request-handler-ref to CsrfAuthenticationStrategy #16844Thank you to all the contributors who worked on this release:
@AB-xdev, @Borghii, and @dependabot[bot]
Add testRuntimeOnly junit-platform-launcher #16756
@PostResult example in method-security doc #16628Thank you to all the contributors who worked on this release:
@Kuba15, @dependabot[bot], and @pat-mccusker
Add Support disableDefaultRegistrationPage to WebAuthnDsl #16395
withValue used incorrectly #16527Serializable for WebAuthnAuthentication #16285Thank you to all the contributors who worked on this release:
@Kehrlann, @NeoTraveler, @dependabot[bot], @franticticktick, @making, and @ngocnhan-tran1996
Add Deprecated ObjectPostProcessor constructor #16212
@inheritDoc to sessionIdChanged method #16216loadAuthorizedClient #16139@AuthenticationPrincipal on interfaces #16177@AuthenticationPrincipal/@CurrentSecurityContext Interface Support #16245@antora/collector-extension from 1.0.0 to 1.0.1 in /docs #16239Thank you to all the contributors who worked on this release:
@12OneTwo12, @Kehrlann, @MuhammadNFadhil, @OrangeDog, @Spikhalskiy, @dependabot[bot], @harpreets789, @kse-music, @martin-tarjanyi, @ngocnhan-tran1996, and @ynojima
Documentation images should render clearly in both light and dark mode #16132
@EnableWebSecurity and @EnableWebSocketSecurity #16113Thank you to all the contributors who worked on this release:
@github-actions[bot] and @ngocnhan-tran1996
Add deprecation notice for missing leading slashes #16020
@FunctionalInterface to AuthorizationEventPublisher #15934@Bean #16063@Bean #15999@antora/collector-extension from 1.0.0-beta.4 to 1.0.0-beta.5 in /docs #16115Thank you to all the contributors who worked on this release:
@Chu3laMan, @Kehrlann, @Limm-jk, @dcolazin, @dependabot[bot], @franticticktick, @github-actions[bot], @gzhao9, @ig-jinwoo, @jzheaux, @kse-music, @ngocnhan-tran1996, and @nomoreFt
Add SAML 2.0 migration guide from Spring Security SAML Extension #17076
Thank you to all the contributors who worked on this release:
@Gurunathan16, @danilopiazza, @evgeniycheban, @joaquinjsb, @m0rk4, @ngocnhan-tran1996, @quaff, @rntrp, @ronodhirSoumik, @snowykte0426, and @therepanic
Add link to docs zip file to the reference #16798
http.adoc #16776ServerBearerTokenAuthenticationConverter and DefaultBearerTokenResolver if not enabled #16039request-handler-ref to CsrfAuthenticationStrategy #16801@springio/asciidoctor-extensions from 1.0.0-alpha.16 to 1.0.0-alpha.17 in /docs #16809Thank you to all the contributors who worked on this release:
@Bragolgirith, @dependabot[bot], @jonah1und1, @kse-music, and @ngocnhan-tran1996
Add testRuntimeOnly junit-platform-launcher #16755
security-api-url attribute in faq.adoc #16633@springio/antora-extensions from 1.14.2 to 1.14.4 in /docs #16637Thank you to all the contributors who worked on this release:
@dependabot[bot] and @ngocnhan-tran1996
Improve Stability of S101 CI Task #16482
@springio/asciidoctor-extensions from 1.0.0-alpha.14 to 1.0.0-alpha.16 in /docs #16519Thank you to all the contributors who worked on this release:
@dependabot[bot] and @sawprogramming
Always return current ClientRegistration in loadAuthorizedClient #16138
loadAuthorizedClient #16138Thank you to all the contributors who worked on this release:
@dependabot[bot], @github-actions[bot], and @kse-music
Support ServerExchangeRejectedHandler @Bean #16062
@Bean #16062@Bean #15991@antora/collector-extension from 1.0.0-beta.4 to 1.0.0-beta.5 in /docs #16117Thank you to all the contributors who worked on this release:
@asimuleo, @dependabot[bot], @github-actions[bot], and @kse-music
Annotation expression template processing should not fail on Class parameter types #15711
@PostFilter are processed twice by PostFilterAuthorizationMethodInterceptor #15676@antora/collector-extension from 1.0.0-beta.2 to 1.0.0-beta.3 in /docs #15907@springio/asciidoctor-extensions from 1.0.0-alpha.13 to 1.0.0-alpha.14 in /docs #15836Thank you to all the contributors who worked on this release:
@dependabot[bot] and @kse-music
ObservationRegistry is never post-processed #15658
ActiveDirectoryLdapAuthenticationProvider does not implement support for multiple urls #15495
CredentialsContainer #15321typ header of logout+jwt #15410@antora/collector-extension from 1.0.0-alpha.4 to 1.0.0-alpha.6 in /docs #15449@antora/collector-extension from 1.0.0-alpha.6 to 1.0.0-alpha.7 in /docs #15482@antora/collector-extension from 1.0.0-alpha.7 to 1.0.0-beta.1 in /docs #15560@antora/collector-extension from 1.0.0-beta.1 to 1.0.0-beta.2 in /docs #15637@springio/antora-extensions from 1.11.1 to 1.12.0 in /docs #15418@springio/antora-extensions from 1.12.0 to 1.13.0 in /docs #15517@springio/antora-extensions from 1.13.0 to 1.13.1 in /docs #15561@springio/antora-extensions from 1.13.1 to 1.14.2 in /docs #15636@springio/asciidoctor-extensions from 1.0.0-alpha.10 to 1.0.0-alpha.11 in /docs #15419@springio/asciidoctor-extensions from 1.0.0-alpha.11 to 1.0.0-alpha.12 in /docs #15515Thank you to all the contributors who worked on this release:
@Kehrlann, @dependabot[bot], and @tahakorkem
One column per quarter.