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 class
ClientManager.InstallationAdapterConfig
-
Field Summary
Fields Modifier and Type Field Description protected RealmManager
realmManager
-
Constructor Summary
Constructors Constructor Description ClientManager()
ClientManager(RealmManager realmManager)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clientIdChanged(ClientModel client, ClientRepresentation newClientRepresentation)
static ClientModel
createClient(KeycloakSession session, RealmModel realm, ClientRepresentation rep)
Should not be called from an import.void
enableServiceAccount(ClientModel client)
boolean
removeClient(RealmModel realm, ClientModel client)
ClientManager.InstallationAdapterConfig
toInstallationRepresentation(RealmModel realmModel, ClientModel clientModel, URI baseUri)
String
toJBossSubsystemConfig(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)
-
-