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 SummaryNested Classes Modifier and Type Class Description static classClientManager.InstallationAdapterConfig
 - 
Field SummaryFields Modifier and Type Field Description protected RealmManagerrealmManager
 - 
Constructor SummaryConstructors Constructor Description ClientManager()ClientManager(RealmManager realmManager)
 - 
Method SummaryAll 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- 
realmManagerprotected RealmManager realmManager 
 
- 
 - 
Constructor Detail- 
ClientManagerpublic ClientManager(RealmManager realmManager) 
 - 
ClientManagerpublic ClientManager() 
 
- 
 - 
Method Detail- 
createClientpublic 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:
 
 - 
removeClientpublic boolean removeClient(RealmModel realm, ClientModel client) 
 - 
validateRegisteredNodespublic Set<String> validateRegisteredNodes(ClientModel client) 
 - 
enableServiceAccountpublic void enableServiceAccount(ClientModel client) 
 - 
clientIdChangedpublic void clientIdChanged(ClientModel client, ClientRepresentation newClientRepresentation) 
 - 
toInstallationRepresentationpublic ClientManager.InstallationAdapterConfig toInstallationRepresentation(RealmModel realmModel, ClientModel clientModel, URI baseUri) 
 - 
toJBossSubsystemConfigpublic String toJBossSubsystemConfig(RealmModel realmModel, ClientModel clientModel, URI baseUri) 
 
- 
 
-