Class KeycloakSettings

java.lang.Object
de.fraunhofer.iosb.ilt.frostserver.auth.keycloak.KeycloakSettings
All Implemented Interfaces:
ConfigDefaults

public class KeycloakSettings extends Object implements ConfigDefaults
Holds the settigs for the Keycloak Auth Provider.
  • Field Details

    • TAG_KEYCLOAK_CONFIG

      public static final String TAG_KEYCLOAK_CONFIG
      See Also:
    • TAG_KEYCLOAK_CONFIG_FILE

      public static final String TAG_KEYCLOAK_CONFIG_FILE
      See Also:
    • TAG_KEYCLOAK_CONFIG_URL

      public static final String TAG_KEYCLOAK_CONFIG_URL
      The URL on the Keycloak server that can be used to download the Keycloak config file. Usually this URL is in the form of: https://keycloak.example.com/auth/realms/[realm]/clients-registrations/install/[clientId]
      See Also:
    • TAG_KEYCLOAK_CONFIG_SECRET

      public static final String TAG_KEYCLOAK_CONFIG_SECRET
      If the client has "access-type" set to "confidential" then a secret is required to download the configuration. This secret can be found in the configuration itself, in Keycloak.
      See Also:
    • TAG_MAX_CLIENTS_PER_USER

      public static final String TAG_MAX_CLIENTS_PER_USER
      See Also:
    • TAG_REGISTER_USER_LOCALLY

      public static final String TAG_REGISTER_USER_LOCALLY
      See Also:
    • TAG_USER_TABLE

      public static final String TAG_USER_TABLE
      See Also:
    • TAG_USERNAME_COLUMN

      public static final String TAG_USERNAME_COLUMN
      See Also:
    • TAG_MAX_PASSWORD_LENGTH

      public static final String TAG_MAX_PASSWORD_LENGTH
      See Also:
    • TAG_MAX_USERNAME_LENGTH

      public static final String TAG_MAX_USERNAME_LENGTH
      See Also:
    • TAG_USER_ROLE_DECODER_CLASS

      public static final String TAG_USER_ROLE_DECODER_CLASS
      See Also:
    • TAG_USER_CACHE_LIFETIME

      public static final String TAG_USER_CACHE_LIFETIME
      See Also:
    • TAG_USER_CACHE_CLEANUP_INTERVAL

      public static final String TAG_USER_CACHE_CLEANUP_INTERVAL
      See Also:
  • Constructor Details

    • KeycloakSettings

      public KeycloakSettings()