Class KeycloakSpringBootConfigResolverWrapper

  • All Implemented Interfaces:
    org.keycloak.adapters.KeycloakConfigResolver

    public class KeycloakSpringBootConfigResolverWrapper
    extends KeycloakSpringConfigResolverWrapper

    A specific implementation of KeycloakSpringConfigResolverWrapper that first tries to register any KeycloakConfigResolver instance provided by the application. if none is provided, KeycloakSpringBootConfigResolver is set.

    This implementation is specially useful when using Spring Boot and Spring Security in the same application where the same KeycloakConfigResolver instance must be used across the different stacks.

    Author:
    Pedro Igor
    • Constructor Detail

      • KeycloakSpringBootConfigResolverWrapper

        public KeycloakSpringBootConfigResolverWrapper()
    • Method Detail

      • setApplicationContext

        public static void setApplicationContext​(org.springframework.context.ApplicationContext context)