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.
Constructor and Description |
---|
KeycloakSpringBootConfigResolverWrapper() |
Modifier and Type | Method and Description |
---|---|
static void |
setAdapterConfig(KeycloakSpringBootProperties adapterConfig) |
static void |
setApplicationContext(org.springframework.context.ApplicationContext context) |
getDelegate, resolve, setDelegate
public KeycloakSpringBootConfigResolverWrapper()
public static void setApplicationContext(org.springframework.context.ApplicationContext context)
public static void setAdapterConfig(KeycloakSpringBootProperties adapterConfig)
Copyright © 2020 JBoss by Red Hat. All rights reserved.