Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update usage of deprecated reactor.util.context.Context.putAll method #11476

Closed
sjohnr opened this issue Jul 8, 2022 · 0 comments
Closed

Update usage of deprecated reactor.util.context.Context.putAll method #11476

sjohnr opened this issue Jul 8, 2022 · 0 comments
Assignees
Labels
in: core An issue in spring-security-core in: test An issue in spring-security-test type: bug A general bug
Milestone

Comments

@sjohnr
Copy link
Member

sjohnr commented Jul 8, 2022

  • ReactorContextTestExecutionListener.DelegateTestExecutionListener.SecuritySubContext.currentContext() uses Context.putAll(Context).
  • ReactorContextWebFilter.withSecurityContext(Context, ServerWebExchange) uses Context.putAll(Context)

Replace usages with Context.putAll(context.readOnly()).

@sjohnr sjohnr added in: test An issue in spring-security-test type: bug A general bug labels Jul 8, 2022
@sjohnr sjohnr self-assigned this Jul 8, 2022
@sjohnr sjohnr added the in: core An issue in spring-security-core label Jul 8, 2022
@sjohnr sjohnr added this to the 6.0.0-M6 milestone Jul 8, 2022
sjohnr added a commit to sjohnr/spring-security that referenced this issue Jul 8, 2022
@sjohnr sjohnr closed this as completed in 206c6ff Jul 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core An issue in spring-security-core in: test An issue in spring-security-test type: bug A general bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant