Class ClientManager

java.lang.Object
org.keycloak.services.managers.ClientManager

public class ClientManager extends Object
Version:
$Revision: 1 $
Author:
Bill Burke
  • Field Details

  • Constructor Details

    • ClientManager

      public ClientManager(RealmManager realmManager)
    • ClientManager

      public ClientManager()
  • Method Details

    • createClient

      public static ClientModel createClient(KeycloakSession session, RealmModel realm, org.keycloak.representations.idm.ClientRepresentation rep)
      Should not be called from an import. This really expects that the client is created from the admin console.
      Parameters:
      session -
      realm -
      rep -
      Returns:
    • removeClient

      public boolean removeClient(RealmModel realm, ClientModel client)
    • validateRegisteredNodes

      public Set<String> validateRegisteredNodes(ClientModel client)
    • enableServiceAccount

      public void enableServiceAccount(ClientModel client)
    • disableServiceAccount

      public void disableServiceAccount(ClientModel client)
    • clientIdChanged

      public void clientIdChanged(ClientModel client, org.keycloak.representations.idm.ClientRepresentation newClientRepresentation)
    • toInstallationRepresentation

      public ClientManager.InstallationAdapterConfig toInstallationRepresentation(RealmModel realmModel, ClientModel clientModel, URI baseUri)
    • toJBossSubsystemConfig

      public String toJBossSubsystemConfig(RealmModel realmModel, ClientModel clientModel, URI baseUri)