spring-projects / spring-security

Spring Security
http://spring.io/projects/spring-security
Apache License 2.0
8.48k stars 5.77k forks source link

Add SecurityContextRepository to Kotlin Reactive DSL #15013

Closed earlgrey02 closed 1 day ago

earlgrey02 commented 3 weeks ago

There is no way in ServerHttpSecurityDsl to set the ServerSecurityContextRepository of ServerHttpSecurity. So I added a field variable to set ServerSecurityContextRepository.

earlgrey02 commented 1 week ago

Hi, @earlgrey02, thanks for the PR!

Will you please do the following three items for me:

  • Add test(s) to confirm the functionality works
  • Change copyright dates so they are updated to the current year
  • Update the commit message to be brief and in the imperative, like
Add SecurityContextRepository to Kotlin Reactive DSL

Yes, the work has been done.

jzheaux commented 1 day ago

Thanks again, @earlgrey02! This is now merged into main and will go out in the next milestone release. I also added a polish in f104d1aeea49154fb3069bad4f28f779f9b63eed to update the copyright year in one of the files you edited.