Package org.keycloak.migration.migrators
Class MigrateTo3_2_0
- java.lang.Object
- 
- org.keycloak.migration.migrators.MigrateTo3_2_0
 
- 
- 
Field SummaryFields Modifier and Type Field Description static ModelVersionVERSION
 - 
Constructor SummaryConstructors Constructor Description MigrateTo3_2_0()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddRoles(ClientModel realmAccess)ModelVersiongetVersion()voidmigrate(KeycloakSession session)voidmigrateImport(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent)Called after full import of representation.protected voidmigrateRealm(KeycloakSession session, RealmModel realm)
 
- 
- 
- 
Field Detail- 
VERSIONpublic static final ModelVersion VERSION 
 
- 
 - 
Method Detail- 
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
 
 - 
migrateRealmprotected void migrateRealm(KeycloakSession session, RealmModel realm) 
 - 
addRolespublic void addRoles(ClientModel realmAccess) 
 - 
getVersionpublic ModelVersion getVersion() - Specified by:
- getVersionin interface- Migration
 
 
- 
 
-