Package org.keycloak.services.managers
Class ClientManager
java.lang.Object
org.keycloak.services.managers.ClientManager
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclientIdChanged(ClientModel client, org.keycloak.representations.idm.ClientRepresentation newClientRepresentation) static ClientModelcreateClient(KeycloakSession session, RealmModel realm, org.keycloak.representations.idm.ClientRepresentation rep) Should not be called from an import.voiddisableServiceAccount(ClientModel client) voidenableServiceAccount(ClientModel client) booleanremoveClient(RealmModel realm, ClientModel client) toInstallationRepresentation(RealmModel realmModel, ClientModel clientModel, URI baseUri) toJBossSubsystemConfig(RealmModel realmModel, ClientModel clientModel, URI baseUri) validateRegisteredNodes(ClientModel client)
-
Field Details
-
realmManager
-
-
Constructor Details
-
ClientManager
-
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
-
validateRegisteredNodes
-
enableServiceAccount
-
disableServiceAccount
-
clientIdChanged
public void clientIdChanged(ClientModel client, org.keycloak.representations.idm.ClientRepresentation newClientRepresentation) -
toInstallationRepresentation
public ClientManager.InstallationAdapterConfig toInstallationRepresentation(RealmModel realmModel, ClientModel clientModel, URI baseUri) -
toJBossSubsystemConfig
-