Class KeyCloakProperties

java.lang.Object
org.training.user.service.config.KeyCloakProperties

@Component public class KeyCloakProperties extends Object
  • Constructor Details

    • KeyCloakProperties

      public KeyCloakProperties()
  • Method Details

    • getKeycloakInstance

      public org.keycloak.admin.client.Keycloak getKeycloakInstance()
      Returns an instance of Keycloak. If the instance is null, it creates a new instance using the provided configuration.
      Returns:
      The Keycloak instance
    • getRealm

      public String getRealm()
      Returns the realm.
      Returns:
      the realm