-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Persistent OpenId sessions can throw IllegalStateException #8330
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
Labels
Bug
For general bugs on Jetty side
Comments
@janbartel thoughts? |
lachlan-roberts
added a commit
that referenced
this issue
Nov 1, 2022
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Repository owner
moved this from To do
to ✅ Done
in Jetty 10.0.13 / 11.0.13 - FROZEN
Nov 10, 2022
lachlan-roberts
added a commit
that referenced
this issue
Nov 10, 2022
…lization Issue #8330 - fix IllegalStateException from using OpenID with SessionDatastore
lachlan-roberts
added a commit
that referenced
this issue
Nov 10, 2022
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Jetty version(s)
all
Description
After persisting an OpenId session to the
SessionDataStore
the user identity is lost as it is a transient field inSessionAuthentication
. This is causing an ISE when theAuthenticator
tries to revalidate the userIdentity of theSessionAuthentication
saved at theSessionAuthentication.__J_AUTHENTICATED
attribute.How to reproduce?
I have a test case to reproduce this on the branch https://github.com/eclipse/jetty.project/blob/jetty-10.0.x-OpenIdSessionSerialization
https://github.com/eclipse/jetty.project/blob/023f194f7a975d256776bdd284cd9c2ef4112762/jetty-openid/src/test/java/org/eclipse/jetty/security/openid/OpenIdAuthenticationTest.java#L164-L176
The text was updated successfully, but these errors were encountered: