Package org.keycloak.services.managers
Class ClientManager
- java.lang.Object
-
- org.keycloak.services.managers.ClientManager
-
public class ClientManager extends Object
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classClientManager.InstallationAdapterConfig
-
Field Summary
Fields Modifier and Type Field Description protected RealmManagerrealmManager
-
Constructor Summary
Constructors Constructor Description ClientManager()ClientManager(RealmManager realmManager)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclientIdChanged(ClientModel client, ClientRepresentation newClientRepresentation)static ClientModelcreateClient(KeycloakSession session, RealmModel realm, ClientRepresentation rep)Should not be called from an import.voidenableServiceAccount(ClientModel client)booleanremoveClient(RealmModel realm, ClientModel client)ClientManager.InstallationAdapterConfigtoInstallationRepresentation(RealmModel realmModel, ClientModel clientModel, URI baseUri)StringtoJBossSubsystemConfig(RealmModel realmModel, ClientModel clientModel, URI baseUri)Set<String>validateRegisteredNodes(ClientModel client)
-
-
-
Field Detail
-
realmManager
protected RealmManager realmManager
-
-
Constructor Detail
-
ClientManager
public ClientManager(RealmManager realmManager)
-
ClientManager
public ClientManager()
-
-
Method Detail
-
createClient
public static ClientModel createClient(KeycloakSession session, RealmModel realm, 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)
-
clientIdChanged
public void clientIdChanged(ClientModel client, ClientRepresentation newClientRepresentation)
-
toInstallationRepresentation
public ClientManager.InstallationAdapterConfig toInstallationRepresentation(RealmModel realmModel, ClientModel clientModel, URI baseUri)
-
toJBossSubsystemConfig
public String toJBossSubsystemConfig(RealmModel realmModel, ClientModel clientModel, URI baseUri)
-
-