[keycloak-user] wildfly-adapter install over wildfly 9
philippe ventrillon
philippe.ventrillon at actility.com
Thu Nov 30 09:55:28 EST 2017
Many thanks !
It worked like a charm ! My small app on wildfly 9 now authenticates me
through keycloak.
Best regards
---
Philippe Ventrillon
On 30/11/2017 15:20, Pedro Igor Silva wrote:
> You can do the same thing you did before but for
> *${JBOSS_HOME}/modules/system/add-ons/keycloak/org/keycloak/**keycloak-wildfly-elytron-oidc-adapter/main/module.xml.*
>
> *
> *
> I did some tests with WF9 and it seems this is the last thing you need
> to do ...
>
> On Thu, Nov 30, 2017 at 11:52 AM, philippe ventrillon
> <philippe.ventrillon at actility.com
> <mailto:philippe.ventrillon at actility.com>> wrote:
>
> 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
>
>
> ---
>
>
--
Philippe Ventrillon / Software architect
Actility
---
More information about the keycloak-user
mailing list