Package org.keycloak.services.managers
Class RealmManager
java.lang.Object
org.keycloak.services.managers.RealmManager
Per request object
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addQueryCompositeRoles
(ClientModel realmAccess) protected void
createRealm
(String name) createRealm
(String id, String name) getRealmAdminClientId
(RealmModel realm) getRealmByName
(String name) importRealm
(RealmRepresentation rep, boolean skipUserDependent) if "skipUserDependent" is true, then import of any models, which needs users already imported in DB, will be skipped.static boolean
isAdministrationRealm
(RealmModel realm) boolean
removeRealm
(RealmModel realm) void
setDefaultsForNewRealm
(RealmModel realm) void
setupAdminCli
(RealmModel realm) protected void
setupAdminConsole
(RealmModel realm) protected void
protected void
void
setupBrokerService
(RealmModel realm) void
setupClientServiceAccountsAndAuthorizationOnImport
(RealmRepresentation rep, boolean skipUserDependent) void
void
protected void
setupRealmDefaults
(RealmModel realm) protected void
setupRequiredActions
(RealmModel realm) void
-
Field Details
-
session
-
model
-
-
Constructor Details
-
RealmManager
-
-
Method Details
-
getSession
-
getKeycloakAdminstrationRealm
-
isAdministrationRealm
-
getRealm
-
getRealmByName
-
createRealm
-
createRealm
-
setupAuthenticationFlows
-
setupRequiredActions
-
createDefaultClientScopes
-
setupAdminConsole
-
setupAdminConsoleLocaleMapper
-
setupAdminCli
-
addQueryCompositeRoles
-
getRealmAdminClientId
-
getRealmAdminClientId
-
setupRealmDefaults
-
removeRealm
-
updateRealmEventsConfig
-
setupMasterAdminManagement
-
setupImpersonationService
-
setupBrokerService
-
importRealm
-
importRealm
if "skipUserDependent" is true, then import of any models, which needs users already imported in DB, will be skipped. For example authorization -
setupClientServiceAccountsAndAuthorizationOnImport
public void setupClientServiceAccountsAndAuthorizationOnImport(RealmRepresentation rep, boolean skipUserDependent) -
setDefaultsForNewRealm
-