You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I configured Keycloak with kumuluzee-security-keycloak and I'm trying to write some integration tests with Arquillian.
When I run the app the normal way with EeApplication, Keycloak is intialized and the resources are secured. But when I run the app the Arquillian way, Keycloak is loaded as an extension:
2018-07-19 17:19:19,112 INFO -- EeApplication -- Found extension implemented by keycloak {}
2018-07-19 17:19:19,112 INFO -- com.kumuluz.ee.security.extensions.KeycloakSecurityExtension -- Initialised security implemented by Keycloak. {}
2018-07-19 17:19:19,112 INFO -- com.kumuluz.ee.security.extensions.KeycloakSecurityExtension -- Initialising security implemented by Keycloak. {}
But the AnnotationProcessorUtil class doesn't find my Application (via ServiceLoader.load(Application.class)) so security configuration is not initialized and the resources are not secured.
The text was updated successfully, but these errors were encountered:
I configured Keycloak with kumuluzee-security-keycloak and I'm trying to write some integration tests with Arquillian.
When I run the app the normal way with
EeApplication
, Keycloak is intialized and the resources are secured. But when I run the app the Arquillian way, Keycloak is loaded as an extension:But the
AnnotationProcessorUtil
class doesn't find my Application (viaServiceLoader.load(Application.class)
) so security configuration is not initialized and the resources are not secured.The text was updated successfully, but these errors were encountered: