-
Notifications
You must be signed in to change notification settings - Fork 76
Handle session persistence for cluster environments #4159
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
Comments
de-jcup
added a commit
that referenced
this issue
May 12, 2025
de-jcup
added a commit
that referenced
this issue
May 12, 2025
- introduced pre-cache - refactored self cleaning cache - added new fields
de-jcup
added a commit
that referenced
this issue
May 15, 2025
- introduced pre-cache - refactored self cleaning cache - added new fields - introduced builder
de-jcup
added a commit
that referenced
this issue
May 16, 2025
- introduced pre-cache - refactored self cleaning cache - added new fields - introduced builder - introduced OAuth2OpaqueTokenClusterCachePersistence - added documentation
de-jcup
added a commit
that referenced
this issue
May 16, 2025
- introduced pre-cache - refactored self cleaning cache - added new fields - introduced builder - introduced OAuth2OpaqueTokenClusterCachePersistence - added documentation
de-jcup
added a commit
that referenced
this issue
May 21, 2025
- introduced pre-cache - refactored self cleaning cache - added new fields - introduced builder - introduced OAuth2OpaqueTokenClusterCachePersistence - added documentation
de-jcup
added a commit
that referenced
this issue
May 21, 2025
- introduced pre-cache - refactored self cleaning cache - added new fields - introduced builder - introduced OAuth2OpaqueTokenClusterCachePersistence - added documentation - introduced integration test + unit tests
de-jcup
added a commit
that referenced
this issue
May 22, 2025
- introduced pre-cache - refactored self cleaning cache - added new fields - introduced builder - introduced OAuth2OpaqueTokenClusterCachePersistence - added documentation - introduced integration test + unit tests
de-jcup
added a commit
that referenced
this issue
May 23, 2025
de-jcup
added a commit
that referenced
this issue
May 23, 2025
- removed unnecessary consructors, where only for test, the test was changed instead. - introduced component to provide cryptoAccessprovider for opaque token introspection response, used this comonent inside selfcleaning cache instance, but also inside cluster token cache (when transforming database entities to cache data objects)
de-jcup
added a commit
that referenced
this issue
May 23, 2025
- removed unnecessary consructors, where only for test, the test was changed instead. - introduced component to provide cryptoAccessprovider for opaque token introspection response, used this comonent inside selfcleaning cache instance, but also inside cluster token cache (when transforming database entities to cache data objects)
de-jcup
added a commit
that referenced
this issue
May 23, 2025
- removed unnecessary consructors, where only for test, the test was changed instead. - introduced component to provide cryptoAccessprovider for opaque token introspection response, used this comonent inside selfcleaning cache instance, but also inside cluster token cache (when transforming database entities to cache data objects)
de-jcup
added a commit
that referenced
this issue
May 23, 2025
- removed unnecessary consructors, where only for test, the test was changed instead. - introduced component to provide cryptoAccessprovider for opaque token introspection response, used this comonent inside selfcleaning cache instance, but also inside cluster token cache (when transforming database entities to cache data objects)
de-jcup
added a commit
that referenced
this issue
May 23, 2025
- removed unnecessary consructors, where only for test, the test was changed instead. - introduced component to provide cryptoAccessprovider for opaque token introspection response, used this comonent inside selfcleaning cache instance, but also inside cluster token cache (when transforming database entities to cache data objects)
sven-dmlr
added a commit
that referenced
this issue
May 23, 2025
Due to PR #4187 version 2.11.0 was aready reached. Set to 2.12.0
sven-dmlr
added a commit
that referenced
this issue
May 23, 2025
de-jcup
added a commit
that referenced
this issue
May 26, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Situation
Currently we have only an
InMemoryCache
for opaque token handling which will automatically cleanup after some time.This works well on a single instance ... but on cluster environments we can run into multiple problems (e.g. logout handling [destroy cache necessary for ALL instances], avoid potential race conditions etc. )
Wanted
We want a cluster ready solution - means the information shall be shared in all clustered environments.
But it shall not read always from database (to avoid performance issues).
Solution
We combine the existing InMemoryCache solution with a DB persistance part:
The logic shall be this way:
Remark: In #3891 after a sucessful logout the (on IDP) we will also remove the opaque token from cache.
The text was updated successfully, but these errors were encountered: