Package de.xima.fc.encryption.db
Class DBEncryptionPropertiesHelper
- java.lang.Object
-
- de.xima.fc.encryption.db.DBEncryptionPropertiesHelper
-
public class DBEncryptionPropertiesHelper extends Object
-
-
Constructor Summary
Constructors Constructor Description DBEncryptionPropertiesHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static EDBEncryptionAlgorithmgetAlgorithm()static intgetEncryptionPoolSize()static StringgetPassword()static booleanisFormDataEncryptionActive()static booleanisPasswordCorrect(String password)static booleanisProjectInboxEncryptionActive()static voidmigrateProperties()Deprecated.The properties migration has been moved to de.xima.fc.config.XfcConfigUpdate#updateDatabase(FileBasedPropertiesConfiguration, Semver)static voidstore(boolean formDataEncActive, String password, EDBEncryptionAlgorithm algorithm)
-
-
-
Method Detail
-
migrateProperties
@Deprecated public static void migrateProperties()
Deprecated.The properties migration has been moved to de.xima.fc.config.XfcConfigUpdate#updateDatabase(FileBasedPropertiesConfiguration, Semver)
-
store
public static void store(boolean formDataEncActive, String password, EDBEncryptionAlgorithm algorithm) throws org.apache.commons.configuration2.ex.ConfigurationException- Parameters:
formDataEncActive- Flag, welches aussagt, ob die Formulardaten Verschluesselung aktiv istpassword- the encryption passwordalgorithm- the encryption algorithm- Throws:
org.apache.commons.configuration2.ex.ConfigurationException- if the configuration could not be saved
-
getPassword
public static String getPassword()
-
isPasswordCorrect
public static boolean isPasswordCorrect(String password)
-
getAlgorithm
public static EDBEncryptionAlgorithm getAlgorithm()
-
isFormDataEncryptionActive
public static boolean isFormDataEncryptionActive()
-
isProjectInboxEncryptionActive
public static boolean isProjectInboxEncryptionActive()
-
getEncryptionPoolSize
public static int getEncryptionPoolSize()
-
-