Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
trickert76 authored and pedroigor committed Jul 6, 2020
1 parent 2f5397a commit 0dd196e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,15 @@
import org.keycloak.adapters.KeycloakDeploymentBuilder;
import org.keycloak.adapters.OIDCHttpFacade;
import org.keycloak.representations.adapters.config.AdapterConfig;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;

@Configuration
public class KeycloakSpringBootConfigResolver implements org.keycloak.adapters.KeycloakConfigResolver {

private KeycloakDeployment keycloakDeployment;

@Autowired
private AdapterConfig adapterConfig;

@Override
Expand All @@ -44,4 +46,4 @@ public KeycloakDeployment resolve(OIDCHttpFacade.Request request) {
void setAdapterConfig(AdapterConfig adapterConfig) {
this.adapterConfig = adapterConfig;
}
}
}

0 comments on commit 0dd196e

Please sign in to comment.