Package de.xima.fc.security.encryption
Class DBEncryptionProvider
- java.lang.Object
-
- de.xima.fc.security.encryption.DBEncryptionProvider
-
public final class DBEncryptionProvider extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static IDBEncryptionProcessor
PROCCESSOR
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EEncryptionTestResult
checkEncryption(DataSource datasource, String encryptionPassword, EDBEncryptionAlgorithm encryptionAlgorithm)
static void
initialize(IDBEncryptionProcessor processor)
static boolean
isConfigurationValid()
static boolean
isMigrationRunning()
static void
migrate(EDBEncryptionAlgorithm newAlgorithm, String newPassword)
-
-
-
Field Detail
-
PROCCESSOR
public static IDBEncryptionProcessor PROCCESSOR
-
-
Method Detail
-
initialize
public static void initialize(IDBEncryptionProcessor processor)
-
migrate
public static void migrate(EDBEncryptionAlgorithm newAlgorithm, String newPassword)
-
checkEncryption
public static EEncryptionTestResult checkEncryption(DataSource datasource, String encryptionPassword, EDBEncryptionAlgorithm encryptionAlgorithm) throws SQLException
- Throws:
SQLException
-
isConfigurationValid
public static boolean isConfigurationValid()
-
isMigrationRunning
public static boolean isMigrationRunning()
-
-