Workaround is either to:
1) Switch to session store
2) Create subclass of KeycloakJettyAuthenticator and override method:
protected Authentication register(Request request,
KeycloakPrincipal<RefreshableKeycloakSecurityContext> principal)
and avoid NPE somehow in your overriden version.You need to use your
overriden class in configuration and copy the JAR with your overriden
class to the adapter.
3) Send us PR with the fix. IMO the preferred will be if it's fix with
minimal impact and possible regressions in other adapters.
Thanks,
Marek
On 05/12/16 22:27, Laghuvaram, Raghu wrote:
I am planning to use Keycloak Jetty Adapter(9.2) as I felt that the
Java Servlet Filter adapter can be used only with session and we cannot make use
token-store as cookie with the Servlet Adapter. But I tried with Jetty Adapter I am
getting NPE and I saw an open bug
https://issues.jboss.org/browse/KEYCLOAK-2514. Is there
any other workaround for this so that I can achieve stateless?
Thanks,
Raghu
________________________________
Notice: This communication may contain privileged and/or confidential information. If you
are not the intended recipient, please notify the sender by email, and immediately delete
the message and any attachments without copying or disclosing them. LB may, for any
reason, intercept, access, use, and disclose any information that is communicated by or
through, or which is stored on, its networks, applications, services, and devices.
_______________________________________________
keycloak-dev mailing list
keycloak-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-dev