[keycloak-user] Keycloak Jar plugin issue

Stian Thorgersen sthorger at redhat.com
Thu Dec 6 09:14:22 EST 2018


Hi,

Deploying custom providers in this approach was deprecated a long time ago.
You need to update your providers to use the hot deployment approach. Check
the docs for details.

On Thu, 6 Dec 2018 at 13:43, Pulkit Srivastava <pulkitsrivastavajd at gmail.com>
wrote:

> Hey,
> We are facing issues with custom jar plugin in keycloak.
> We used the following approach:
>
>  <providers>
>
> <provider>classpath:${jboss.home.dir}/providers/*</provider>
> <provider>module:com.identity-bridge.authentication-api
> </provider>
> <provider>module:com.identity-bridge.login-rest-api</provider>
> <provider>module:com.identity-bridge.registration-spi </provider>
> </providers>
> And placed these jars inside module folder of keycloak.
>
> But when we tried placing the jars inside "providers" folder in keycloak as
> mentioned in first line(so that we don't have to make any change in
> standalone.xml for jars), keycloak stated giving "NoClassDefFound" error
> for some classes. Any idea as to why this happening.?
>
> Thanks,
> Pulkit
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
>


More information about the keycloak-user mailing list