public class MigrationLogic extends Object
| Constructor and Description |
|---|
MigrationLogic(net.javacrumbs.shedlock.core.LockProvider lockProvider,
int timeout,
de.adorsys.datasafe_0_6_1.simple.adapter.api.types.S061_DFSCredentials oldDFS,
de.adorsys.datasafe_1_0_1.simple.adapter.api.types.S101_DFSCredentials newDFS,
de.adorsys.datasafe_1_0_1.encrypiton.api.types.encryption.MutableEncryptionConfig mutableEncryptionConfig) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkMigration(UserIDAuth userIDAuth)
This is the magic method.
|
void |
createFileForNewUser(UserIDAuth userIDAuth)
should used direct storage to be able to place the migration file in another location
and unencrypyted
|
public MigrationLogic(net.javacrumbs.shedlock.core.LockProvider lockProvider,
int timeout,
de.adorsys.datasafe_0_6_1.simple.adapter.api.types.S061_DFSCredentials oldDFS,
de.adorsys.datasafe_1_0_1.simple.adapter.api.types.S101_DFSCredentials newDFS,
de.adorsys.datasafe_1_0_1.encrypiton.api.types.encryption.MutableEncryptionConfig mutableEncryptionConfig)
public boolean checkMigration(UserIDAuth userIDAuth)
userIDAuth - user to be migratedpublic void createFileForNewUser(UserIDAuth userIDAuth)
userIDAuth - Copyright © 2019. All rights reserved.