[keycloak-dev] Placing external libs for provider
Dmitry Telegin
dt at acutus.pro
Thu Nov 15 16:34:09 EST 2018
Hello Marco,
What version of Keycloak are you using? AFAIK "providers" directory has been deprecated long ago. For newer Keycloak versions, it is recommended to use standalone/deployments for the same.
If your provider depends on 3rd party libs, you should package everything into a EAR archive. Please look at BeerCloak [1] for the example of how this could be done.
P.S. It is generally recommended to ask questions like this to keycloak-user mailing list. This one is dedicated to Keycloak development.
[1] https://github.com/dteleguin/beercloak
Cheers,
Dmitry Telegin
CTO, Acutus s.r.o.
Keycloak Consulting and Training
Pod lipami street 339/52, 130 00 Prague 3, Czech Republic
+42 (022) 888-30-71
E-mail: info at acutus.pro
On Thu, 2018-11-15 at 20:43 +0000, marco.scheuermann at daimler.com wrote:
> Hi community,
>
> I created a provider implementation and placed it under /providers.
> The provider has dependencies to other libs, e.g. an azure jar for accessing azure queues.
> Where do I have to put this lib so that the classloader will find it. I placed it also under /providers but the classes
> are not loaded....
>
> Thank you,
> Marco
>
>
> If you are not the addressee, please inform us immediately that you have received this e-mail by mistake, and delete it. We thank you for your support.
>
> _______________________________________________
> keycloak-dev mailing list
> keycloak-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-dev
More information about the keycloak-dev
mailing list