[keycloak-user] Migration to Keycloak
jayblanc at gmail.com
Thu Dec 11 05:31:33 EST 2014
I'm trying to migrate an existing application to keycloak and I'm facing
My application is an ear composed of :
- one war containing Servlet and JaxRS resources (which are not session
beans but only rest resources calling EJBs)
- one jar containing EJB components secured with a dedicated SecurityDomain.
-one HTML5/Angular client application
I've configured the security domain in standalone-full.xml using the
I've also configured the war using jboss-web.xml to use the security domain
Finally I've include the JAX-RS filter in order to allows BearerToken
authentication on the REST api in the WAR.
Angular application is able to loggin and to send the bearer token in the
http header. The jaxRS logs shows that token is received and user name is
What happens is that authentication is not propagated to the EJB Layer and
the LoginModule is never called.
Anybody has an idea on how to make this propagation works ?
Thanks for your help, best regards, Jérôme.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the keycloak-user