[keycloak-dev] latest commits and next steps
Bill Burke
bburke at redhat.com
Fri Aug 2 08:59:11 EDT 2013
On 8/2/2013 8:16 AM, Stian Thorgersen wrote:
> I actually like it not using CDI/EJB as it should be simpler to create a wildfly subsystem for it, if it ever comes to that?
>
> What about using a ThreadLocal for the KeycloakSession, then close it in a servlet filter. Something like this: http://pastebin.com/KN7HUzbA
>
servlet filter is a good idea, the embedded servlet container I'm using
doesn't support filters though. That can be fixed by switching to Undertow.
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com
More information about the keycloak-dev
mailing list