How exactly are you implementing it? Can you point me to some example
code? Remember, UserStorageProviderFactory *MUST* be a POJO. I haven't
done CDI in years, but I believe it would work similarly to the EJB
example, except you'd look up the CDI bean manager and allocate your
provider through the bean manager.
On 1/19/17 5:36 AM, Matuszak, Eduard wrote:
Hello
It is not possible for me, to bring CDI (@Inject) to work in a user storage provider
application (Keycloak 2.5.0), deployed as a war-file. The required beans.xml is placed
correctly in the war-file and passed by Weld during deployment, but all injected objects
are null.
Is this a known (and possibly perforced) behaviour, a (minor) bug or simply due to a
missing trick?
Thanks in advance for a feedback, Eduard Matuszak
_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user