Class KeycloakSpringConfigResolverWrapper
- java.lang.Object
-
- org.keycloak.adapters.springsecurity.config.KeycloakSpringConfigResolverWrapper
-
- All Implemented Interfaces:
KeycloakConfigResolver
public class KeycloakSpringConfigResolverWrapper extends Object implements KeycloakConfigResolver
Spring applications may use different security stacks in order to enforce access based on the configuration provided by aKeycloakDeployment
. This implementation ofKeycloakConfigResolver
wraps and avoid calling multipleKeycloakConfigResolver
instances but only those defined by applications or set as default by the configuration.- Author:
- Pedro Igor
-
-
Constructor Summary
Constructors Constructor Description KeycloakSpringConfigResolverWrapper(KeycloakConfigResolver delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected KeycloakConfigResolver
getDelegate()
KeycloakDeployment
resolve(HttpFacade.Request facade)
protected void
setDelegate(KeycloakConfigResolver delegate)
-
-
-
Constructor Detail
-
KeycloakSpringConfigResolverWrapper
public KeycloakSpringConfigResolverWrapper(KeycloakConfigResolver delegate)
-
-
Method Detail
-
resolve
public KeycloakDeployment resolve(HttpFacade.Request facade)
- Specified by:
resolve
in interfaceKeycloakConfigResolver
-
setDelegate
protected void setDelegate(KeycloakConfigResolver delegate)
-
getDelegate
protected KeycloakConfigResolver getDelegate()
-
-