Package org.keycloak.adapters.springboot
Class KeycloakSpringBootConfigResolverWrapper
java.lang.Object
org.keycloak.adapters.springsecurity.config.KeycloakSpringConfigResolverWrapper
org.keycloak.adapters.springboot.KeycloakSpringBootConfigResolverWrapper
- All Implemented Interfaces:
org.keycloak.adapters.KeycloakConfigResolver
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidsetAdapterConfig(KeycloakSpringBootProperties adapterConfig) static voidsetApplicationContext(org.springframework.context.ApplicationContext context) Methods inherited from class org.keycloak.adapters.springsecurity.config.KeycloakSpringConfigResolverWrapper
getDelegate, resolve, setDelegate
-
Constructor Details
-
KeycloakSpringBootConfigResolverWrapper
public KeycloakSpringBootConfigResolverWrapper()
-
-
Method Details
-
setApplicationContext
public static void setApplicationContext(org.springframework.context.ApplicationContext context) -
setAdapterConfig
-