With the keycloak wildfly adapter for version 1.9.x i've noticed that the location of the
Keycloak Subsystem modules have changed from
modules\system\layers\base\org\keycloak to modules\system\add-ons\keycloak\org\keycloak
Now on my secure war application server I've installed the keycloak wildfly adpater by unzipping the archive and running the
adapter-install.cl script.
Now In my application i'm getting aClassNotFoundException: org.keycloak.KeycloakSecurityContext
when the following is executed
KeycloakSecurityContext securityContext = (KeycloakSecurityContext) httpRequest.getAttribute(KeycloakSecurityContext.class.getName());
Obviously the application isn't loading the keycloak modules in the classpath.
What is the proper way to include the keycloak libraries in my app?
Should my app have a jboss-deployment-structure.xml file or should the libraries be moved back to modules\system\layers\base\org\keycloak?
Thanks
--
Darrell Wu
1Place Limited
P.O. Box 125152, St Heliers, Auckland 1740, New Zealand
Level 4,
1 Queen Street, Auckland 1010, New Zealand
Phone: +64 9 5200612 ext 521 | Mob: +64 21 262 4898 | Fax: +64 9 5246203
Email:
darrell@1placeonline.com | Web:
www.1placeonline.com