Package org.keycloak.migration.migrators
Class MigrateTo3_0_0
- java.lang.Object
-
- org.keycloak.migration.migrators.MigrateTo3_0_0
-
- All Implemented Interfaces:
Migration
public class MigrateTo3_0_0 extends Object implements Migration
- Author:
- Bill Burke
-
-
Field Summary
Fields Modifier and Type Field Description static ModelVersion
VERSION
-
Constructor Summary
Constructors Constructor Description MigrateTo3_0_0()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModelVersion
getVersion()
void
migrate(KeycloakSession session)
void
migrateImport(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent)
Called after full import of representation.protected void
migrateRealm(RealmModel realm)
-
-
-
Field Detail
-
VERSION
public static final ModelVersion VERSION
-
-
Method Detail
-
migrate
public void migrate(KeycloakSession session)
-
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
protected void migrateRealm(RealmModel realm)
-
getVersion
public ModelVersion getVersion()
- Specified by:
getVersion
in interfaceMigration
-
-