Class PathBasedKeycloakConfigResolver

    • Field Detail

      • log

        protected static final org.jboss.logging.Logger log
    • Constructor Detail

      • PathBasedKeycloakConfigResolver

        public PathBasedKeycloakConfigResolver()
    • Method Detail

      • getOrCreateDeployment

        protected KeycloakDeployment getOrCreateDeployment​(String pathFragment)
        pathFragment is a key for deployments. The key is used to construct a path relative to keycloak.config or karaf.etc system properties. For given key, <key>-keycloak.json file is checked.
        Parameters:
        pathFragment -
        Returns:
      • prepopulateCache

        protected void prepopulateCache()
        If there's a need, we can pre populate the cache of deployments.