Last active
October 2, 2019 15:18
-
-
Save akoserwal/46e5e46e05b8facff3c8def1e4b309b8 to your computer and use it in GitHub Desktop.
keycloak-spring-CustomKeycloakSpringBootConfigResolver
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Configuration | |
public class CustomKeycloakSpringBootConfigResolver extends KeycloakSpringBootConfigResolver { | |
private final KeycloakDeployment keycloakDeployment; | |
public CustomKeycloakSpringBootConfigResolver(KeycloakSpringBootProperties properties) { | |
keycloakDeployment = KeycloakDeploymentBuilder.build(properties); | |
} | |
@Override | |
public KeycloakDeployment resolve(HttpFacade.Request facade) { | |
return keycloakDeployment; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment