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 Summary
Fields 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 Summary
Constructors Constructor Description LegacyMigrationManager(KeycloakSession session)
-
Method Summary
All 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_VERSION
public static final ModelVersion RHSSO_VERSION_7_0_KEYCLOAK_VERSION
-
RHSSO_VERSION_7_1_KEYCLOAK_VERSION
public static final ModelVersion RHSSO_VERSION_7_1_KEYCLOAK_VERSION
-
RHSSO_VERSION_7_2_KEYCLOAK_VERSION
public static final ModelVersion RHSSO_VERSION_7_2_KEYCLOAK_VERSION
-
RHSSO_VERSION_7_3_KEYCLOAK_VERSION
public static final ModelVersion RHSSO_VERSION_7_3_KEYCLOAK_VERSION
-
RHSSO_VERSION_7_4_KEYCLOAK_VERSION
public static final ModelVersion RHSSO_VERSION_7_4_KEYCLOAK_VERSION
-
-
Constructor Detail
-
LegacyMigrationManager
public LegacyMigrationManager(KeycloakSession session)
-
-
Method Detail
-
migrate
public void migrate()
- Specified by:
migratein interfaceMigrationManager
-
migrate
public void migrate(RealmModel realm, RealmRepresentation rep, boolean skipUserDependent)
- Specified by:
migratein interfaceMigrationManager
-
convertRHSSOVersionToKeycloakVersion
public static ModelVersion convertRHSSOVersionToKeycloakVersion(String version)
-
-