public class ClientManager extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ClientManager.InstallationAdapterConfig |
Modifier and Type | Field and Description |
---|---|
protected RealmManager |
realmManager |
Constructor and Description |
---|
ClientManager() |
ClientManager(RealmManager realmManager) |
Modifier and Type | Method and Description |
---|---|
void |
clientIdChanged(ClientModel client,
String newClientId) |
static ClientModel |
createClient(KeycloakSession session,
RealmModel realm,
ClientRepresentation rep,
boolean addDefaultRoles)
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) |
protected RealmManager realmManager
public ClientManager(RealmManager realmManager)
public ClientManager()
public static ClientModel createClient(KeycloakSession session, RealmModel realm, ClientRepresentation rep, boolean addDefaultRoles)
session
- realm
- rep
- addDefaultRoles
- public boolean removeClient(RealmModel realm, ClientModel client)
public Set<String> validateRegisteredNodes(ClientModel client)
public void enableServiceAccount(ClientModel client)
public void clientIdChanged(ClientModel client, String newClientId)
public ClientManager.InstallationAdapterConfig toInstallationRepresentation(RealmModel realmModel, ClientModel clientModel, URI baseUri)
public String toJBossSubsystemConfig(RealmModel realmModel, ClientModel clientModel, URI baseUri)
Copyright © 2020 JBoss by Red Hat. All rights reserved.