From 12d351ae9715f42e5062347cf801ccf11a244f16 Mon Sep 17 00:00:00 2001 From: mhajas Date: Tue, 11 Jun 2019 14:41:48 +0200 Subject: [PATCH] KEYCLOAK-10595 Make KeycloakSpringBootConfigResolver Spring bean --- .../adapters/springboot/KeycloakSpringBootConfigResolver.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/adapters/oidc/spring-boot-adapter-core/src/main/java/org/keycloak/adapters/springboot/KeycloakSpringBootConfigResolver.java b/adapters/oidc/spring-boot-adapter-core/src/main/java/org/keycloak/adapters/springboot/KeycloakSpringBootConfigResolver.java index 799a069786..270e11df41 100755 --- a/adapters/oidc/spring-boot-adapter-core/src/main/java/org/keycloak/adapters/springboot/KeycloakSpringBootConfigResolver.java +++ b/adapters/oidc/spring-boot-adapter-core/src/main/java/org/keycloak/adapters/springboot/KeycloakSpringBootConfigResolver.java @@ -21,7 +21,9 @@ import org.keycloak.adapters.KeycloakDeployment; import org.keycloak.adapters.KeycloakDeploymentBuilder; import org.keycloak.adapters.OIDCHttpFacade; import org.keycloak.representations.adapters.config.AdapterConfig; +import org.springframework.context.annotation.Configuration; +@Configuration public class KeycloakSpringBootConfigResolver implements org.keycloak.adapters.KeycloakConfigResolver { private KeycloakDeployment keycloakDeployment;