<div dir="ltr">Is there a way to enable CDI support within custom Authenticator and Provider implementations?<div><br></div><div>I added the weld subsystem into our standalone.xml and added a beans.xml into the keycloak-server-subsystem WEB-INF directory, but the weld subsystem still wasn&#39;t recognizing the keycloak-server.war deployment as CDI-enabled (though other wars deployed on JBoss were recognized without issues).</div><div><br></div><div>I wanted to provide a default cache manager and annotate some of my authenticator/provider methods with @CacheResult to cache some fairly lengthy (but stable) data fetch operations.</div><div><br></div><div>I could manually persist this data in an infinispan cache, but using the annotations would be cleaner</div><div><br></div><div>Jared</div></div>