[keycloak-user] wildfly-adapter install over wildfly 9

Pedro Igor Silva psilva at redhat.com
Thu Nov 30 10:02:47 EST 2017


FYI, I've created https://issues.jboss.org/browse/KEYCLOAK-5953.

On Thu, Nov 30, 2017 at 12:55 PM, philippe ventrillon <
philippe.ventrillon at actility.com> wrote:

> 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> 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
>> [image: Actility]
>> ---
>>
>
>
> --
> Philippe Ventrillon / Software architect
> [image: Actility]
> ---
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: uc.png
Type: image/png
Size: 4853 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/keycloak-user/attachments/20171130/42b33dc4/attachment-0001.png 


More information about the keycloak-user mailing list