Class Utils
java.lang.Object
de.fraunhofer.iosb.ilt.frostserver.auth.keycloak.Utils
- Author:
- scf
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceAn interface for classes that map HTTP methods to a user Role. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetKeycloakConfig(CoreSettings coreSettings) Load the keycloak config from the given CoreSettings.static org.keycloak.adapters.KeycloakDeploymentresolveDeployment(CoreSettings coreSettings) Create a new KeycloakDeployment from settings loaded from the given CoreSettings.
-
Method Details
-
getKeycloakConfig
Load the keycloak config from the given CoreSettings.- Parameters:
coreSettings- the CoreSettings to load the keycloak config from.- Returns:
- the keycloak config.
-
resolveDeployment
Create a new KeycloakDeployment from settings loaded from the given CoreSettings.- Parameters:
coreSettings- The CoreSettings to create a KeycloakDeployment from.- Returns:
- the new KeycloakDeployment.
-