Class MapExportImportManager
- java.lang.Object
- 
- org.keycloak.models.map.datastore.MapExportImportManager
 
- 
- All Implemented Interfaces:
- ExportImportManager
 
 public class MapExportImportManager extends Object implements ExportImportManager This wraps the functionality about export/import for legacy storage.Currently, this only removes the user-storage and federation code from LegacyExportImportManager. In the future, this needs to be rewritten completely. - Author:
- Alexander Schwartz, Hynek Mlnarik
 
- 
- 
Constructor SummaryConstructors Constructor Description MapExportImportManager(KeycloakSession session)MapExportImportManager(KeycloakSession session, boolean useNewImportMethod)
 - 
Method Summary
 
- 
- 
- 
Constructor Detail- 
MapExportImportManagerpublic MapExportImportManager(KeycloakSession session) 
 - 
MapExportImportManagerpublic MapExportImportManager(KeycloakSession session, boolean useNewImportMethod) 
 
- 
 - 
Method Detail- 
importRealmpublic void importRealm(RealmRepresentation rep, RealmModel newRealm, boolean skipUserDependent) - Specified by:
- importRealmin interface- ExportImportManager
 
 - 
exportRealmpublic void exportRealm(RealmModel realm, ExportOptions options, ExportAdapter callback) - Specified by:
- exportRealmin interface- ExportImportManager
 
 - 
importRealmpublic RealmModel importRealm(InputStream requestBody) - Specified by:
- importRealmin interface- ExportImportManager
 
 - 
partialImportRealmpublic PartialImportResults partialImportRealm(RealmModel realm, InputStream requestBody) - Specified by:
- partialImportRealmin interface- ExportImportManager
 
 - 
clearExistingComponentsprotected static void clearExistingComponents(RealmModel newRealm, MultivaluedHashMap<String,ComponentExportRepresentation> components) 
 - 
setupMasterAdminManagementpublic void setupMasterAdminManagement(RealmModel realm) 
 - 
addQueryCompositeRolespublic void addQueryCompositeRoles(ClientModel realmAccess) 
 - 
getClaimsMaskpublic static long getClaimsMask(ClaimRepresentation rep) 
 - 
createClientScopeMappingspublic static void createClientScopeMappings(RealmModel realm, ClientModel clientModel, List<ScopeMappingRepresentation> mappings) 
 - 
renameRealmpublic static void renameRealm(RealmModel realm, String name) 
 - 
updateRealmpublic void updateRealm(RealmRepresentation rep, RealmModel realm) - Specified by:
- updateRealmin interface- ExportImportManager
 
 - 
createUserpublic UserModel createUser(RealmModel newRealm, UserRepresentation userRep) - Specified by:
- createUserin interface- ExportImportManager
 
 - 
convertDeprecatedSocialProviderspublic static void convertDeprecatedSocialProviders(UserRepresentation user) 
 - 
importComponentsprotected static void importComponents(RealmModel newRealm, MultivaluedHashMap<String,ComponentExportRepresentation> components, String parentId) 
 - 
importGroupspublic static void importGroups(RealmModel realm, RealmRepresentation rep) 
 - 
importAuthenticationFlowspublic static Map<String,String> importAuthenticationFlows(RealmModel newRealm, RealmRepresentation rep) 
 - 
toPolicypublic static OTPPolicy toPolicy(RealmRepresentation rep) 
 - 
toModelpublic static RequiredActionProviderModel toModel(RequiredActionProviderRepresentation rep) 
 - 
importRealmAuthorizationSettingspublic static void importRealmAuthorizationSettings(RealmRepresentation rep, RealmModel newRealm, KeycloakSession session) 
 
- 
 
-