Merge branch 'dmp-refactoring' of https://code-repo.d4science.org/MaDgiK-CITE/argos into dmp-refactoring
This commit is contained in:
commit
86628a59a7
|
@ -24,9 +24,8 @@ public class MyKeycloakAdminRestApi {
|
|||
@Autowired
|
||||
public MyKeycloakAdminRestApi(KeycloakClientConfiguration configuration) {
|
||||
this.configuration = configuration;
|
||||
try (Keycloak client = this.initClient()) {
|
||||
Keycloak client = this.initClient();
|
||||
this.realm = client.realm(configuration.getProperties().getRealm());
|
||||
}
|
||||
logger.info("Custom Keycloak client initialized. Keycloak serving from {}", configuration.getProperties().getServerUrl().replace("/auth", "").replaceAll("https?://", ""));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue