Skip to content

Issue #12918 NPE in AuthenticationState.ServeAs.wrap #13041

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

Open
wants to merge 1 commit into
base: jetty-12.0.x
Choose a base branch
from

Conversation

janbartel
Copy link
Contributor

Fixes #12918

As the ServletContextRequest fields _requestedSession and _managedSession are private, they must be explicitly set on the newly created instance in ServletContextHandler.newServletContextRequest when the passed-in request is itself a ServletContextRequest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 👀 In review
Development

Successfully merging this pull request may close these issues.

NullPointerException with ServeAs requests (with FormAuthenticator)
1 participant