Package org.keycloak.migration.migrators
Class RealmMigration
java.lang.Object
org.keycloak.migration.migrators.RealmMigration
- All Implemented Interfaces:
Migration
- Direct Known Subclasses:
MigrateTo22_0_0
,MigrateTo23_0_0
,MigrateTo24_0_0
,MigrateTo24_0_3
,MigrateTo25_0_0
,MigrateTo26_0_0
,MigrateTo26_1_0
,MigrateTo26_2_0
,MigrateTo26_3_0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
migrate
(KeycloakSession session) void
migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) Called after full import of representation.abstract void
migrateRealm
(KeycloakSession session, RealmModel realm) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.keycloak.migration.migrators.Migration
getVersion
-
Constructor Details
-
RealmMigration
public RealmMigration()
-
-
Method Details
-
migrate
-
migrateImport
public void migrateImport(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) Description copied from interface:Migration
Called after full import of representation. Implementations of this method should try not make assumptions about what was imported from the representations. We have no idea what the user will do to an exported json file.- Specified by:
migrateImport
in interfaceMigration
-
migrateRealm
-