<div dir="ltr"><div><div><div><div><br clear="all"></div>Hi,<br><br></div>With the keycloak wildfly adapter for version 1.9.x i&#39;ve noticed that the location of the <a id="jboss-adapter">Keycloak Subsystem</a> modules have changed from <br>modules\system\layers\base\org\keycloak to modules\system\add-ons\keycloak\org\keycloak<br><br></div>Now on my secure war application server I&#39;ve installed the keycloak wildfly adpater by unzipping the archive and running the <a href="http://adapter-install.cl">adapter-install.cl</a> script.<br><br></div>Now In my application i&#39;m getting a<br><div><div>ClassNotFoundException: org.keycloak.KeycloakSecurityContext<br><br></div><div>when the following is executed <br><br>KeycloakSecurityContext securityContext = (KeycloakSecurityContext) httpRequest.getAttribute(KeycloakSecurityContext.class.getName());<br></div><div><br></div><div>Obviously the application isn&#39;t loading the keycloak modules in the classpath.<br></div><div>What is the proper way to include the keycloak libraries in my app?<br><br></div><div>Should my app have a jboss-deployment-structure.xml file   or should the libraries be moved back to modules\system\layers\base\org\keycloak?<br><br></div><div>Thanks<br></div><div><br><br><div><br><div><div>-- <br><div class="gmail_signature"><div dir="ltr">Darrell Wu<br>1Place Limited<br>P.O. Box 125152, St Heliers, Auckland 1740, New Zealand<br>Level 4,<a title="aka: 
 -1 Queen Street" style="color:rgb(0,0,0);font-family:Arial,Helvetica,sans-serif;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)"><span style="font-size:15px;font-family:Arial,Helvetica,sans-serif;font-weight:bold"> </span></a>1 Queen Street, Auckland 1010, New Zealand<br>Phone: +64 9 5200612 ext 521 | Mob: +64 21 262 4898 | Fax: +64 9 5246203<br>Email: <a href="mailto:darrell@1placeonline.com" target="_blank">darrell@1placeonline.com</a> | Web: <a href="http://www.1placeonline.com" target="_blank">www.1placeonline.com</a><div style="display:inline"></div><div style="display:inline"></div></div></div>
</div></div></div></div></div></div>