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 Modifier and Type Method Description static EDBEncryptionAlgorithm
getAlgorithm()
static String
getPassword()
static boolean
isFormDataEncryptionActive()
static boolean
isPasswordCorrect(String password)
static boolean
isProjectInboxEncryptionActive()
static void
migrateProperties()
static void
store(boolean formDataEncActive, String password, EDBEncryptionAlgorithm algorithm)
-
-
-
Method Detail
-
migrateProperties
public static void migrateProperties()
-
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()
-
-