Skip to content

Releases: spring-projects/spring-security

5.2.13.RELEASE

18 Oct 17:56
Compare
Choose a tag to compare

πŸͺ² Bug Fixes

  • Fix typo #10316
  • MappedJwtClaimSetConverter#withDefaults doesn't remove claims from JWT as documented #10180

πŸ”¨ Dependency Upgrades

  • Update to embedded Tomcat websocket 8.5.72 #10379
  • Update to Jetty 9.4.44.v20210927 #10378
  • Update to nohttp 0.0.10 #10377
  • Upgrade to embedded Apache Tomcat 9.0.54 #10376
  • Upgrade Spring Framework to 5.2.18.RELEASE #10375
  • Upgrade Reactor to Dysprosium-SR24 #10374

5.6.0-M3

20 Sep 18:38
e9449be
Compare
Choose a tag to compare
5.6.0-M3 Pre-release
Pre-release

⭐ New Features

  • Update Saml2LoginConfigurer to pick up Saml2AuthenticationTokenConverter bean #10275
  • LDIF file in integration tests should be compatible with UnboundID #10274
  • Minor documentation fixes #10271
  • Add Saml2ParameterNames #10270
  • Saml2LoginConfigurer should pick up Saml2AuthenticationTokenConverter bean #10268
  • Rename SecurityContextChangedEvent.getCurrentContext() for better clarity #10249
  • Replace SecurityContextHolder#addListener #10246
  • Replace SecurityContextHolder#addListener with SecurityContextHolder#setSecurityContextHolderStrategy #10226
  • Default principalClaimName to SUB #10217
  • Principal claim name in JwtAuthenticationConverter is null but documented default #10214
  • Fix oauth2 issuer treatment and exception handling #10175
  • Make AuthorizationGrantTypeConverter support custom grant type #10155
  • Replace static "ROLE_" with customized role prefix #10078
  • Propagate TestSecurityContextHolder to SecurityContextHolder #9737
  • Propagate TestSecurityContextHolder to SecurityContextHolder after MockMvc calls #9565
  • Add SAML SLO DSL support #9497
  • Saml2Authentication should have registration id #9487
  • RelyingPartyRegistrationResolvers should allow for the registration id to be specified #9486
  • Incomplete documentation about session management using java configuration #8979
  • Support sending SAML 2.0 LogoutRequest to the IdP (Single Logout) #8731

πŸͺ² Bug Fixes

  • Saml2LoginConfigurer relyingPartyRegistrationRepository method does not return correct type #10245
  • Fix typo in index.adoc #10244
  • Added exception to error message #10224
  • Update a broken link to Spring Boot documentation #10177
  • Documentation should point to spring-security-samples #9784

πŸ”¨ Dependency Upgrades

  • Update org.springframework to 5.3.10 #10297
  • Update org.mockito to 3.12.4 #10296
  • Update org.junit.jupiter to 5.8.0 #10295
  • Update junit-bom to 5.8.0 #10294
  • Update org.jetbrains.kotlinx to 1.5.2 #10293
  • Update org.jetbrains.kotlin to 1.5.30 #10292
  • Update hibernate-entitymanager to 5.5.7.Final #10291
  • Update io.spring.nohttp to 0.0.10 #10290
  • Update reactor-netty to 1.0.11 #10289
  • Update io.projectreactor to 2020.0.11 #10288
  • Update com.nimbusds to 9.15 #10287
  • Update nebula-project-plugin to 8.2.0 #10286
  • Update jackson-datatype-jsr310 to 2.12.5 #10285
  • Update jackson-databind to 2.12.5 #10284
  • Update jackson-bom to 2.12.5 #10283
  • Update logback-classic to 1.2.6 #10282

❀️ Contributors

We'd like to thank all the contributors who worked on this release!

5.6.0-M2

16 Aug 21:37
Compare
Choose a tag to compare
5.6.0-M2 Pre-release
Pre-release

⭐ New Features

  • Add converter for authentication result in OAuth2LoginAuthenticationFilter #10041
  • Add Saml2AuthenticationRequestRepository #10060
  • Add Saml2AuthenticationRequestRepository #9185
  • Add SpringOpaqueTokenIntrospector #9354
  • Document api changes to OAuth2AccessTokenResponseHttpMessageConverter #10063
  • enable customization of headers in AbstractWebClientReactiveOAuth2AccessTokenResponseClient #10131
  • Introducing WebSessionServerLogoutHandler #10046
  • Move and rename OAuth2IntrospectionClaimAccessor/Names #9647
  • OAuth2 - Support customizing OAuth2AuthenticationToken through a single AuthenticationProvider #10033
  • Session is not invalidated on logout #8971
  • Support customizing headers of a request in AbstractWebClientReactiveOAuth2AccessTokenResponseClient #10130
  • Update deprecated usage in reference docs #10132
  • Verify Samples in Build #10031
  • Verify Samples in Build #9846

πŸ”¨ Dependency Upgrades

  • Update com.nimbusds to 9.12 #10198
  • Update hibernate-entitymanager to 5.5.6 #10202
  • Update htmlunit to 2.52.0 #10201
  • Update htmlunit-driver to 2.52.0 #10203
  • Update io.projectreactor to 2020.0.10 #10199
  • Update logback-classic to 1.2.5 #10196
  • Update nebula-project-plugin to 8.1.0 #10197
  • Update org.slf4j to 1.7.32 #10204

❀️ Contributors

We'd like to thank all the contributors who worked on this release!

5.5.2

16 Aug 18:57
bdc3fea
Compare
Choose a tag to compare

⭐ New Features

  • Consider adding springFrameworkVersion property #10068
  • Introduce samplesBranch property #10036
  • Use the new springFrameworkVersion property in docs' links #10067

πŸ”¨ Dependency Upgrades

  • Update com.nimbusds to 9.9.1 #10186
  • Update io.projectreactor to 2020.0.10 #10187
  • Update jackson-bom to 2.12.4 #10183
  • Update jackson-databind to 2.12.4 #10184
  • Update jackson-datatype-jsr310 to 2.12.4 #10185
  • Update logback-classic to 1.2.5 #10182
  • Update org.aspectj to 1.9.7 #10189
  • Update org.eclipse.jetty to 9.4.43.v20210629 #10190
  • Update org.jetbrains.kotlin to 1.5.21 #10191
  • Update org.jetbrains.kotlinx to 1.5.1 #10192
  • Update org.slf4j to 1.7.32 #10193
  • Update org.springframework to 5.3.9 #10194
  • Update org.springframework.data to 2021.0.4 #10195
  • Update reactor-netty to 1.0.10 #10188

5.4.8

16 Aug 16:32
Compare
Choose a tag to compare

⭐ New Features

  • Remove -PdeployDocsHost=docs-ip.spring.io from Build #10021

πŸͺ² Bug Fixes

  • Regression with URL encode client credentials #10126
  • AuthenticationFailureEvent does not exist #10107
  • Fix a typo in some class names in the oauth documentation #10052
  • Fix Saml2WebSsoAuthenticationRequestFilter javadoc #10027
  • Update to use s01.oss.sonatype.org Maven Publishing #10015
  • Every XML sec:authentication-manager creates a new global instance of AuthenticationEventPublisher #10009
  • logoutSuccessUrl in DefaultLoginPageGeneratingFilter is not set #9997

πŸ”¨ Dependency Upgrades

  • Update to Spring Boot 2.4.8 #10181
  • Update to spring-build-conventions:0.0.38 #10020

5.3.11.RELEASE

16 Aug 13:52
Compare
Choose a tag to compare

⭐ New Features

  • Remove -PdeployDocsHost=docs-ip.spring.io from Build #10023

πŸͺ² Bug Fixes

  • Regression with URL encode client credentials #10127
  • AuthenticationFailureEvent does not exist #10108
  • Update to use s01.oss.sonatype.org Maven Publishing #10024
  • Every XML sec:authentication-manager creates a new global instance of AuthenticationEventPublisher #10010

πŸ”¨ Dependency Upgrades

  • Update to spring-build-conventions:0.0.38 #10022

5.2.12.RELEASE

16 Aug 12:49
Compare
Choose a tag to compare

πŸͺ² Bug Fixes

  • Regression with URL encode client credentials #10128
  • Update to use s01.oss.sonatype.org Maven Publishing #10030
  • Every XML sec:authentication-manager creates a new global instance of AuthenticationEventPublisher #10012

πŸ”¨ Dependency Upgrades

  • Update to embedded Tomcat websocket 8.5.69 #10170
  • Update to org.aspectj 1.9.7 #10169
  • Update to org.slf4j 1.7.32 #10168
  • Update to Jetty 9.4.43.v20210629 #10167
  • Update to embedded Apache Tomcat 9.0.52 #10166
  • Update to jaxb-impl 2.3.5 #10165
  • Update to Spring Framework 5.2.16.RELEASE #10164
  • Update to Reactor Dysprosium-SR22 #10163
  • Update to spring-build-conventions:0.0.23.2.RELEASE #10029

5.6.0-M1

19 Jul 09:43
Compare
Choose a tag to compare
5.6.0-M1 Pre-release
Pre-release

βͺ Breaking Changes

  • Client credentials not correctly encoded in Basic Auth #9610
  • CookieClearingLogoutHandler cannot delete cookie when servlet context path is set #8846
  • spring-security-core depends on spring-security-crypto #9767

⭐ New Features

  • Access Token Response supports any data type #9779
  • Add AuthenticationDetailsSource to Form Login Kotlin DSL #9837
  • Add AuthenticationDetailsSource to OAuth2 Login Kotlin DSL #9838
  • Add Kotlin samples to the reference documentation #8172
  • Add method authorizeHttpRequests with defaults only #9612
  • Add RequestedUrlRedirectInvalidSessionStrategy implemention of InvalidSessionStrategy #9632
  • Add SecurityContext to delegating TaskScheduler #9532
  • Add support for any data type in Access Token Response #9685
  • Allow configuration of AuthenticationManager in saml2Login Kotlin DSL #9905
  • Allow multiple security annotations on a method (combining result of evaluations with AND operator) #4003
  • Anonymous in ExceptionTranslationWebFilter #9508
  • AuthorizationManager + Method Security Support #9289
  • Consider adding a link checker to build #9818
  • Consider adding springFrameworkVersion property #9954
  • DigestAuthenticationFilter decodes nonce only once #8455
  • GlobalMethodSecurity and multiple annotation ordering #4103
  • HttpSecurity DSL should accept an AuthenticationManager #10040
  • HttpSecurityConfigurer should have a no-parameter method for authorizeHttpRequests #9498
  • Improve Error Message for Invalid Properties in InMemoryUserDetailsManager #9919
  • Improve Error Messages in XsdDocumentedTests #9829
  • Include Port in DNS SRV type lookups #9030
  • Introduce samplesBranch property #10019
  • JWT Kotlin DSL should accept an AuthenticationManager #10045
  • Load ReactiveJwtAuthenticationConverter bean in OAuth2 Resource Server config #9699
  • Make XsdDocumentedTests Parsing More Lenient #9830
  • Mark methodSecurityMetadataSource as infrastructure bean #9860
  • Migrate JUnit 4 to 5 #9467
  • Multiple Pre or PostAuthorization Annotations #9452
  • OpaqueToken Kotlin DSL should accept an AuthenticationManager #10044
  • Provide KeyInfo as part of the Signature object when an object is signed #9746
  • Remove DependencySetPlugin #10070
  • Remove PowerMock Dependency #6025
  • Replace < and > with &lt and &gt in Javadoc #9847
  • SAML docs should encourage OpenSAML 4 usage #10014
  • ServerHttpSecurity Kotlin DSL should accept a ReactiveAuthenticationManager #10053
  • Store one request by default in WebSessionOAuth2ServerAuthorizationRequestRepository #9912
  • Support A Well-Known URL for Changing Passwords #8688
  • Support for X509 Certificate in RsaKeyConverters #9736 #9853
  • Update to Spring Security 5.6 #9695
  • Use GPG_PRIVATE_KEY directly #9776
  • Use the new springFrameworkVersion property in docs' links #9987

πŸ”¨ Dependency Upgrades

  • Update assertj-core to 3.20.2 #10096
  • Update com.nimbusds to 9.10.1 #10089
  • Update hibernate-entitymanager to 5.5.3.Final #10099
  • Update htmlunit to 2.51.0 #10094
  • Update htmlunit-driver to 2.51.0 #10102
  • Update io.projectreactor to 2020.0.9 #10091
  • Update io.rsocket to 1.1.1 #10093
  • Update jackson-bom to 2.12.4 #10086
  • Update jackson-databind to 2.12.4 #10087
  • Update jackson-datatype-jsr310 to 2.12.4 #10088
  • Update mockk to 1.12.0 #10090
  • Update org.aspectj to 1.9.7 #10095
  • Update org.bouncycastle to 1.69 #10097
  • Update org.eclipse.jetty to 9.4.43.v20210629 #10098
  • Update org.jetbrains.kotlin to 1.5.21 #10100
  • Update org.jetbrains.kotlinx to 1.5.1 #10101
  • Update org.slf4j to 1.7.31 #10103
  • Update org.springframework to 5.3.9 #10104
  • Update org.springframework.data to 2021.1.0-M1 #10105
  • Update reactor-netty to 1.0.9 #10092
  • Update to org.mockito 3.11.2 #10054

❀️ Contributors

We'd like to thank all the contributors who worked on this release!

5.3.10.RELEASE

22 Jun 13:23
Compare
Choose a tag to compare

⭐ New Features

  • Store one request by default in WebSessionOAuth2ServerAuthorizationRequestRepository #9915

πŸͺ² Bug Fixes

  • Disabling logout keeps LogoutPageGeneratingWebFilter registered at /logout #9945
  • Using the SecurityMockServerConfigurers.java requires the com.nimbusds oauth2-oidc-sdk on the classpath #9932
  • Adding filters relative to custom ones is broken #9909
  • SEC-3139: Anonymous authentication token not passed to Controller #9892
  • Clarify quick start section in README #9887
  • RSocket and WebClient with Security refCount: 0 #9872
  • Client credentials not correctly encoded in Basic Auth #9862
  • Docs should state default value for Resource Server validation clock skew is 60 seconds #9850
  • OidcClientInitiatedLogoutSuccessHandler url-encodes PostLogoutRedirectUri twice #9821
  • DefaultSpringSecurityContextSource can't handle spaces in baseDn #9808
  • OAuth2ErrorResponseErrorHandler throws IllegalArgumentException for a nonstandard HTTP status code response #9803
  • NPE in HttpSessionSecurityContextRepository.isTransientAuthentication #9799
  • docs.af.pivotal.io->docs-ip.spring.io #9687
  • Buffer LEAK detected by ResourceLeakDetector in AuthenticationPayloadExchangeConverter #9682
  • WebFlux httpBasic() should match on XHR requests #9664
  • HttpSecurity.addFilter* with same Filter in Different Position Places in Incorrect Location #9644
  • oauth2Login() generates authorization links for "client_credentials" grant type #9638

5.5.1

21 Jun 19:04
e41360b
Compare
Choose a tag to compare

⭐ New Features

  • Consider adding a link checker to build #9972
  • Use Job Outputs to Transmit Error #9928
  • Store one request by default in WebSessionOAuth2ServerAuthorizationRequestRepository #9917
  • Combine different OS Build in one CI Job #9798
  • Use GPG_PRIVATE_KEY directly #9778

πŸͺ² Bug Fixes

  • Update links to point to migrated samples #9971
  • Add messaging to documentation about sample migration #9970
  • Fix broken links in docs #9969
  • CORS section is missing in Reactive reference documentation #9952
  • RSocket documentation mentions non-existent class #9950
  • Disabling logout keeps LogoutPageGeneratingWebFilter registered at /logout #9941
  • Missing log of "caused by" exception when OP document metadata cannot be reached #9939
  • Missing support for private_key_jwt in ClientRegistrations #9936
  • Allow client registration from issuer uri with no authorize_endpoint #9935
  • Missing support for urn:ietf:params:oauth:grant-type:jwt-bearer in ClientRegistrations #9934
  • Using the SecurityMockServerConfigurers.java requires the com.nimbusds oauth2-oidc-sdk on the classpath #9929
  • Jwt client authentication converter should detect new key #9927
  • Adding filters relative to custom ones is broken #9906
  • SEC-3139: Anonymous authentication token not passed to Controller #9890
  • Clarify quick start section in README #9885
  • RSocket and WebClient with Security refCount: 0 #9870
  • spring-security-config kotlin-stdlib-jdk8 dependency isn't optional #9864
  • Client credentials not correctly encoded in Basic Auth #9858
  • Docs should state default value for Resource Server validation clock skew is 60 seconds #9849
  • OidcClientInitiatedLogoutSuccessHandler url-encodes PostLogoutRedirectUri twice #9819
  • DefaultSpringSecurityContextSource can't handle spaces in baseDn #9806
  • OAuth2ErrorResponseErrorHandler throws IllegalArgumentException for a nonstandard HTTP status code response #9805
  • NPE in HttpSessionSecurityContextRepository.isTransientAuthentication #9801
  • Fix Build Scan in Build Windows CI Job #9797
  • GitHub Actions only Activated for main #9777
  • Artifactory missing mavenJava publication #9774
  • spring-security-core depends on spring-security-crypto #9773

πŸ”¨ Dependency Upgrades

  • Update org.springframework to 5.3.8 #9984
  • Update org.slf4j to 1.7.31 #9983
  • Update org.jetbrains.kotlin to 1.5.10 #9982
  • Update hibernate-entitymanager to 5.4.32.Final #9981
  • Update org.eclipse.jetty to 9.4.42.v20210604 #9980
  • Update io.rsocket to 1.1.1 #9979
  • Remove commons-codec constraint #9977
  • Update to OpenSAML 4.1.1 #9976
  • Update to nimbus-jose-jwt 9.10 #9975
  • Update to oauth2-oidc-sdk 9.9 #9974