Thank you for your help
I've set optional="true" as you suggested. It worked smoothly as long as
adapter install was concerned.
Unfortunately when i try to deploy my war I get an exception :
Failed to define class
org.keycloak.adapters.elytron.KeycloakConfigurationServletListener in
Module "org.keycloak.keycloak-wildfly-elytron-oidc-adapter:main" from
local module loader @45283ce2 (finder: local module finder @2077d4de
(roots:
C:\java\wildfly-9.0.2.Final-withKc\modules,C:\java\wildfly-9.0.2.Final-withKc\modules\system\layers\base,C:\java\wildfly-9.0.2.Final-withKc\modules\system\add-ons\keycloak)):
org.jboss.modules.ModuleLoadError: org.wildfly.security.elytron:main
Do you have more ideas ?
Regards
On 30/11/2017 12:33, Pedro Igor Silva wrote:
Could you try to change
*${JBOSS_HOME}/modules/system/add-ons/keycloak/org/keycloak/keycloak-wildfly-subsystem/main/module.xml*
to mark *org.wildfly.security.elytron* dependency as optional. After
your changes the dependency should look like this:
<module name="org.wildfly.security.elytron" *optional="true"*
/>
--
Philippe Ventrillon / Software architect
Actility
---