[keycloak-dev] Stateful per-realm objects
mitya at cargosoft.ru
Thu Jan 19 05:31:49 EST 2017
A new login protocol endpoint instance is created each time per-request
(o.k.protocol.LoginProtocolFactory::createProtocolEndpoint). I need all
the instances to have access to a shared, per-realm stateful object.
(Background: I'm implementing OpenID 2.0 for Keycloak using openid4java
library. There, the central concept is ServerManager, a per-endpoint
singleton that stores cryptographic associations and other shared
Just interested if there's already similar mechanism in Keycloak. It
shouldn't be that hard to implement a singleton registry, but it'd
prefer not to reinvent the wheel.
More information about the keycloak-dev