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,MigrateTo26_4_0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidmigrate(KeycloakSession session) voidmigrateImport(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) Called after full import of representation.abstract voidmigrateRealm(KeycloakSession session, RealmModel realm) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:MigrationCalled 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:
migrateImportin interfaceMigration
-
migrateRealm
-