Skip to content

SecurityContextCallableProcessingInterceptor thread visibility fix #6144

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

Merged
merged 1 commit into from
Dec 3, 2018
Merged

SecurityContextCallableProcessingInterceptor thread visibility fix #6144

merged 1 commit into from
Dec 3, 2018

Conversation

lmagyar89
Copy link
Contributor

Add volatile to make sure correct thread visibility

@rwinch
Copy link
Member

rwinch commented Nov 29, 2018

Thanks for the PR @lmagyar89!

Can you please adjust the commit message to conform with Spring Security's conventions. Specifically, please provide a meaningful but concise subject (first line), any additional details as the body, and Fixes: gh-6144 at the end.

@rwinch rwinch self-assigned this Nov 29, 2018
Within class SecurityContextCallableProcessingInterceptor field securityContext should volatile.

Fixes gh-6143
@lmagyar89 lmagyar89 changed the title 6143 SecurityContextCallableProcessingInterceptor thread visibility fix Nov 30, 2018
@lmagyar89
Copy link
Contributor Author

@rwinch should I need anything else to add/modify?

@rwinch
Copy link
Member

rwinch commented Dec 3, 2018

Thanks for the PR @lmagyar89! This is now merged into master and backported to 5.1.x 5.0.x and 4.2.x via #6216 #6217 #6218

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 type: bug A general bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants