Package org.keycloak.migration.migrators
Class MigrateTo1_8_0
java.lang.Object
org.keycloak.migration.migrators.MigrateTo1_8_0
- All Implemented Interfaces:
Migration
- Author:
- Marek Posolda
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentModel
getMapperByName
(RealmModel realm, ComponentModel providerModel, String name) 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 Details
-
VERSION
-
-
Constructor Details
-
MigrateTo1_8_0
public MigrateTo1_8_0()
-
-
Method Details
-
getVersion
- Specified by:
getVersion
in interfaceMigration
-
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
-
getMapperByName
public static ComponentModel getMapperByName(RealmModel realm, ComponentModel providerModel, String name)
-