Uses of Class
org.keycloak.representations.idm.RealmRepresentation
Package
Description
-
Uses of RealmRepresentation in org.keycloak.admin.client.resource
Modifier and TypeMethodDescriptionRealmResource.partialExport
(Boolean exportGroupsAndRoles, Boolean exportClients) RealmResource.toRepresentation()
Modifier and TypeMethodDescriptionvoid
RealmsResource.create
(RealmRepresentation realmRepresentation) void
RealmResource.update
(RealmRepresentation realmRepresentation) -
Uses of RealmRepresentation in org.keycloak.exportimport.dir
Modifier and TypeMethodDescriptionvoid
DirExportProvider.writeRealm
(String fileName, RealmRepresentation rep) -
Uses of RealmRepresentation in org.keycloak.exportimport.singlefile
Modifier and TypeFieldDescriptionprotected Map<String,
RealmRepresentation> SingleFileImportProvider.realmReps
-
Uses of RealmRepresentation in org.keycloak.exportimport.util
Modifier and TypeMethodDescriptionstatic RealmRepresentation
ExportUtils.exportRealm
(KeycloakSession session, RealmModel realm, boolean includeUsers, boolean internal) static RealmRepresentation
ExportUtils.exportRealm
(KeycloakSession session, RealmModel realm, ExportOptions options, boolean internal) Modifier and TypeMethodDescriptionstatic Map<String,
RealmRepresentation> ImportUtils.getRealmsFromStream
(com.fasterxml.jackson.databind.ObjectMapper mapper, InputStream is) Modifier and TypeMethodDescriptionstatic boolean
ImportUtils.importRealm
(KeycloakSession session, RealmRepresentation rep, Strategy strategy, boolean skipUserDependent) Fully import realm from representation, save it to model and return model of newly created realmprotected abstract void
MultipleStepsExportProvider.writeRealm
(String fileName, RealmRepresentation rep) Modifier and TypeMethodDescriptionstatic void
ImportUtils.importRealms
(KeycloakSession session, Collection<RealmRepresentation> realms, Strategy strategy) -
Uses of RealmRepresentation in org.keycloak.migration
Modifier and TypeMethodDescriptionstatic void
MigrationModelManager.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) -
Uses of RealmRepresentation in org.keycloak.migration.migrators
Modifier and TypeMethodDescriptionvoid
MigrateTo1_2_0.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) void
MigrateTo1_3_0.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) void
MigrateTo1_4_0.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) void
MigrateTo1_5_0.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) void
MigrateTo1_6_0.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) void
MigrateTo1_7_0.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) void
MigrateTo1_8_0.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) void
MigrateTo1_9_2.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) void
MigrateTo18_0_0.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) void
MigrateTo2_0_0.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) void
MigrateTo2_1_0.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) void
MigrateTo2_2_0.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) void
MigrateTo2_3_0.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) void
MigrateTo2_5_0.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) void
MigrateTo20_0_0.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) void
MigrateTo21_0_0.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) void
MigrateTo22_0_0.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) void
MigrateTo3_0_0.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) void
MigrateTo3_1_0.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) void
MigrateTo3_2_0.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) void
MigrateTo3_4_0.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) void
MigrateTo3_4_1.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) void
MigrateTo3_4_2.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) void
MigrateTo4_0_0.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) void
MigrateTo4_2_0.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) void
MigrateTo4_6_0.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) void
MigrateTo6_0_0.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) void
MigrateTo8_0_0.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) void
MigrateTo8_0_2.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) void
MigrateTo9_0_0.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) void
MigrateTo9_0_4.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) default void
Migration.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) Called after full import of representation. -
Uses of RealmRepresentation in org.keycloak.models.map.datastore
Modifier and TypeMethodDescriptionMapExportImportManager.importAuthenticationFlows
(KeycloakSession session, RealmModel newRealm, RealmRepresentation rep) static void
MapExportImportManager.importGroups
(RealmModel realm, RealmRepresentation rep) void
MapExportImportManager.importRealm
(RealmRepresentation rep, RealmModel newRealm, boolean skipUserDependent) static void
MapExportImportManager.importRealmAuthorizationSettings
(RealmRepresentation rep, RealmModel newRealm, KeycloakSession session) static OTPPolicy
MapExportImportManager.toPolicy
(RealmRepresentation rep) void
MapExportImportManager.updateRealm
(RealmRepresentation rep, RealmModel realm) -
Uses of RealmRepresentation in org.keycloak.models.utils
Modifier and TypeMethodDescriptionstatic RealmRepresentation
StripSecretsUtils.strip
(RealmRepresentation rep) static RealmRepresentation
ModelToRepresentation.toBriefRepresentation
(RealmModel realm) static RealmRepresentation
ModelToRepresentation.toRepresentation
(KeycloakSession session, RealmModel realm, boolean internal) Modifier and TypeMethodDescriptionstatic void
ModelToRepresentation.exportAuthenticationFlows
(KeycloakSession session, RealmModel realm, RealmRepresentation rep) static void
ModelToRepresentation.exportGroups
(RealmModel realm, RealmRepresentation rep) static void
ModelToRepresentation.exportRequiredActions
(RealmModel realm, RealmRepresentation rep) static void
RepresentationToModel.importRealm
(KeycloakSession session, RealmRepresentation rep, RealmModel newRealm, boolean skipUserDependent) static RealmRepresentation
StripSecretsUtils.strip
(RealmRepresentation rep) static void
StripSecretsUtils.stripForExport
(KeycloakSession session, RealmRepresentation rep) static void
RepresentationToModel.updateRealm
(RealmRepresentation rep, RealmModel realm, KeycloakSession session) -
Uses of RealmRepresentation in org.keycloak.representations.idm
Modifier and TypeMethodDescriptionRealmRepresentation.setDockerAuthenticationFlow
(String dockerAuthenticationFlow) -
Uses of RealmRepresentation in org.keycloak.services.clientpolicy
Modifier and TypeMethodDescriptionvoid
ClientPolicyManager.updateRealmModelFromRepresentation
(RealmModel realm, RealmRepresentation rep) when importing a realm, or updating a realm, update model from the representation objectvoid
DefaultClientPolicyManager.updateRealmModelFromRepresentation
(RealmModel realm, RealmRepresentation rep) void
ClientPolicyManager.updateRealmRepresentationFromModel
(RealmModel realm, RealmRepresentation rep) when exporting realm, or retrieve the realm for admin REST API, prepares the exported representation of the client profiles and policies.void
DefaultClientPolicyManager.updateRealmRepresentationFromModel
(RealmModel realm, RealmRepresentation rep) -
Uses of RealmRepresentation in org.keycloak.services.managers
Modifier and TypeMethodDescriptionRealmManager.getRealmAdminClientId
(RealmRepresentation realm) RealmManager.importRealm
(RealmRepresentation rep) RealmManager.importRealm
(RealmRepresentation rep, boolean skipUserDependent) if "skipUserDependent" is true, then import of any models, which needs users already imported in DB, will be skipped.void
RealmManager.setupClientServiceAccountsAndAuthorizationOnImport
(RealmRepresentation rep, boolean skipUserDependent) -
Uses of RealmRepresentation in org.keycloak.services.resources
Modifier and TypeMethodDescriptionvoid
KeycloakApplication.importRealm
(RealmRepresentation rep, String from) -
Uses of RealmRepresentation in org.keycloak.services.resources.admin
Modifier and TypeMethodDescriptionRealmAdminResource.getRealm()
Get the top-level representation of the realm It will not include nested information like User and Client representations.protected RealmRepresentation
RealmsAdminResource.toRealmRep
(RealmModel realm, boolean briefRep) Modifier and TypeMethodDescriptionRealmsAdminResource.getRealms
(boolean briefRepresentation) Get accessible realms Returns a list of accessible realms.Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Response
RealmAdminResource.updateRealm
(RealmRepresentation rep) Update the top-level information of the realm Any user, roles or client information in the representation will be ignored. -
Uses of RealmRepresentation in org.keycloak.storage
Modifier and TypeMethodDescriptionImportRealmFromRepresentationEvent.getRealmRepresentation()
Deprecated.LegacyStoreMigrateRepresentationEvent.getRep()
Modifier and TypeMethodDescriptionstatic RealmModel
ImportRealmFromRepresentationEvent.fire
(KeycloakSession session, RealmRepresentation rep) Deprecated.static void
LegacyStoreMigrateRepresentationEvent.fire
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) void
ExportImportManager.importRealm
(RealmRepresentation rep, RealmModel newRealm, boolean skipUserDependent) void
MigrationManager.migrate
(RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) void
ExportImportManager.updateRealm
(RealmRepresentation rep, RealmModel realm) ModifierConstructorDescriptionImportRealmFromRepresentationEvent
(KeycloakSession session, RealmRepresentation realmRepresentation) Deprecated.LegacyStoreMigrateRepresentationEvent
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) -
Uses of RealmRepresentation in org.keycloak.storage.datastore
Modifier and TypeMethodDescriptionLegacyExportImportManager.importAuthenticationFlows
(KeycloakSession session, RealmModel newRealm, RealmRepresentation rep) static void
LegacyExportImportManager.importGroups
(RealmModel realm, RealmRepresentation rep) void
LegacyExportImportManager.importRealm
(RealmRepresentation rep, RealmModel newRealm, boolean skipUserDependent) static void
LegacyExportImportManager.importRealmAuthorizationSettings
(RealmRepresentation rep, RealmModel newRealm, KeycloakSession session) static void
LegacyExportImportManager.importUserFederationProvidersAndMappers
(KeycloakSession session, RealmRepresentation rep, RealmModel newRealm) void
LegacyMigrationManager.migrate
(RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) static OTPPolicy
LegacyExportImportManager.toPolicy
(RealmRepresentation rep) void
LegacyExportImportManager.updateRealm
(RealmRepresentation rep, RealmModel realm)