Package org.keycloak.migration.migrators
Class MigrateTo1_8_0
- java.lang.Object
-
- org.keycloak.migration.migrators.MigrateTo1_8_0
-
- All Implemented Interfaces:
Migration
public class MigrateTo1_8_0 extends Object implements Migration
- Author:
- Marek Posolda
-
-
Field Summary
Fields Modifier and Type Field Description static ModelVersionVERSION
-
Constructor Summary
Constructors Constructor Description MigrateTo1_8_0()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ComponentModelgetMapperByName(RealmModel realm, ComponentModel providerModel, String name)ModelVersiongetVersion()voidmigrate(KeycloakSession session)voidmigrateImport(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent)Called after full import of representation.protected voidmigrateRealm(RealmModel realm)
-
-
-
Field Detail
-
VERSION
public static final ModelVersion VERSION
-
-
Method Detail
-
getVersion
public ModelVersion getVersion()
- Specified by:
getVersionin interfaceMigration
-
migrate
public void migrate(KeycloakSession session)
-
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
protected void migrateRealm(RealmModel realm)
-
getMapperByName
public static ComponentModel getMapperByName(RealmModel realm, ComponentModel providerModel, String name)
-
-