Class RealmManager


  • public class RealmManager
    extends Object
    Per request object
    Version:
    $Revision: 1 $
    Author:
    Bill Burke
    • Method Detail

      • getKeycloakAdminstrationRealm

        public RealmModel getKeycloakAdminstrationRealm()
      • isAdministrationRealm

        public static boolean isAdministrationRealm​(RealmModel realm)
      • setupAuthenticationFlows

        protected void setupAuthenticationFlows​(RealmModel realm)
      • setupRequiredActions

        protected void setupRequiredActions​(RealmModel realm)
      • createDefaultClientScopes

        protected void createDefaultClientScopes​(RealmModel realm)
      • setupAdminConsole

        protected void setupAdminConsole​(RealmModel realm)
      • setupAdminConsoleLocaleMapper

        protected void setupAdminConsoleLocaleMapper​(RealmModel realm)
      • setupAdminCli

        public void setupAdminCli​(RealmModel realm)
      • addQueryCompositeRoles

        public void addQueryCompositeRoles​(ClientModel realmAccess)
      • getRealmAdminClientId

        public String getRealmAdminClientId​(RealmModel realm)
      • setupRealmDefaults

        protected void setupRealmDefaults​(RealmModel realm)
      • removeRealm

        public boolean removeRealm​(RealmModel realm)
      • setupMasterAdminManagement

        public void setupMasterAdminManagement​(RealmModel realm)
      • setupImpersonationService

        public void setupImpersonationService​(RealmModel realm)
      • setupBrokerService

        public void setupBrokerService​(RealmModel realm)
      • importRealm

        public RealmModel importRealm​(RealmRepresentation rep,
                                      boolean skipUserDependent)
        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

        public void setDefaultsForNewRealm​(RealmModel realm)