Package org.keycloak.storage.datastore
Class LegacyMigrationManager
- java.lang.Object
- 
- org.keycloak.storage.datastore.LegacyMigrationManager
 
- 
- All Implemented Interfaces:
- MigrationManager
 
 public class LegacyMigrationManager extends Object implements MigrationManager This wraps the functionality for migrations of the legacy storage. This will be handled differently for the new map storage, therefore, it has been extracted.- Author:
- Alexander Schwartz
 
- 
- 
Field SummaryFields Modifier and Type Field Description static ModelVersionRHSSO_VERSION_7_0_KEYCLOAK_VERSIONstatic ModelVersionRHSSO_VERSION_7_1_KEYCLOAK_VERSIONstatic ModelVersionRHSSO_VERSION_7_2_KEYCLOAK_VERSIONstatic ModelVersionRHSSO_VERSION_7_3_KEYCLOAK_VERSIONstatic ModelVersionRHSSO_VERSION_7_4_KEYCLOAK_VERSION
 - 
Constructor SummaryConstructors Constructor Description LegacyMigrationManager(KeycloakSession session)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ModelVersionconvertRHSSOVersionToKeycloakVersion(String version)voidmigrate()voidmigrate(RealmModel realm, RealmRepresentation rep, boolean skipUserDependent)
 
- 
- 
- 
Field Detail- 
RHSSO_VERSION_7_0_KEYCLOAK_VERSIONpublic static final ModelVersion RHSSO_VERSION_7_0_KEYCLOAK_VERSION 
 - 
RHSSO_VERSION_7_1_KEYCLOAK_VERSIONpublic static final ModelVersion RHSSO_VERSION_7_1_KEYCLOAK_VERSION 
 - 
RHSSO_VERSION_7_2_KEYCLOAK_VERSIONpublic static final ModelVersion RHSSO_VERSION_7_2_KEYCLOAK_VERSION 
 - 
RHSSO_VERSION_7_3_KEYCLOAK_VERSIONpublic static final ModelVersion RHSSO_VERSION_7_3_KEYCLOAK_VERSION 
 - 
RHSSO_VERSION_7_4_KEYCLOAK_VERSIONpublic static final ModelVersion RHSSO_VERSION_7_4_KEYCLOAK_VERSION 
 
- 
 - 
Constructor Detail- 
LegacyMigrationManagerpublic LegacyMigrationManager(KeycloakSession session) 
 
- 
 - 
Method Detail- 
migratepublic void migrate() - Specified by:
- migratein interface- MigrationManager
 
 - 
migratepublic void migrate(RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) - Specified by:
- migratein interface- MigrationManager
 
 - 
convertRHSSOVersionToKeycloakVersionpublic static ModelVersion convertRHSSOVersionToKeycloakVersion(String version) 
 
- 
 
-