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

[master] [EJBCLIENT-406] Adjust capturing of AuthenticationContext after interceptors. #516

Merged
merged 4 commits into from Jun 1, 2021

Conversation

darranl
Copy link
Contributor

@darranl darranl commented May 27, 2021

The AuthenticationContext APIs within Elytron are build around being able to wrap an invocation so the context can be set and cleared automatically around the invocation.

Client side interceptors should be an ideal place for this kind of wrapping but working with this there were some differences in behaviour regarding how the context was captured and used, this PR contains a sequence of changes to clean up this behaviour and make it consistent.

https://issues.redhat.com/browse/EJBCLIENT-406

…tionContext as common to both implementations.
… discovery.

We don't have a mechanism to pass it over the discovery APIs so instead
ensure it is associated with the thread to be recaptured.
…xt after the application interceptors.

Ensure the captured AuthenticationContext is preferred over the
originally captured context.
@tadamski tadamski merged commit ac1d5f5 into wildfly:master Jun 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants