Package org.keycloak.migration.migrators
Class MigrateTo8_0_0
- java.lang.Object
- 
- org.keycloak.migration.migrators.MigrateTo8_0_0
 
- 
- All Implemented Interfaces:
- Migration
 
 public class MigrateTo8_0_0 extends Object implements Migration - Author:
- Marek Posolda
 
- 
- 
Field SummaryFields Modifier and Type Field Description static ModelVersionVERSION
 - 
Constructor SummaryConstructors Constructor Description MigrateTo8_0_0()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ModelVersiongetVersion()voidmigrate(KeycloakSession session)voidmigrateImport(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent)Called after full import of representation.static voidmigrateOptionalAuthenticationExecution(RealmModel realm, AuthenticationFlowModel parentFlow, AuthenticationExecutionModel optionalExecution, boolean updateOptionalExecution)protected voidmigrateRealmCommon(RealmModel realm)protected voidmigrateRealmMFA(RealmModel realm)
 
- 
- 
- 
Field Detail- 
VERSIONpublic static final ModelVersion VERSION 
 
- 
 - 
Method Detail- 
getVersionpublic ModelVersion getVersion() - Specified by:
- getVersionin interface- Migration
 
 - 
migratepublic void migrate(KeycloakSession session) 
 - 
migrateImportpublic 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 interface- Migration
 
 - 
migrateRealmCommonprotected void migrateRealmCommon(RealmModel realm) 
 - 
migrateRealmMFAprotected void migrateRealmMFA(RealmModel realm) 
 - 
migrateOptionalAuthenticationExecutionpublic static void migrateOptionalAuthenticationExecution(RealmModel realm, AuthenticationFlowModel parentFlow, AuthenticationExecutionModel optionalExecution, boolean updateOptionalExecution) 
 
- 
 
-