public class DBEncryptionPropertiesHelper extends Object
Constructor and Description |
---|
DBEncryptionPropertiesHelper() |
Modifier and Type | Method and 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) |
public static void migrateProperties()
public static void store(boolean formDataEncActive, String password, EDBEncryptionAlgorithm algorithm) throws org.apache.commons.configuration.ConfigurationException
formDataEncActive
- Flag, welches aussagt, ob die Formulardaten Verschluesselung aktiv istpassword
- the encryption passwordalgorithm
- the encryption algorithmorg.apache.commons.configuration.ConfigurationException
- if the configuration could not be savedpublic static String getPassword()
public static boolean isPasswordCorrect(String password)
public static EDBEncryptionAlgorithm getAlgorithm()
public static boolean isFormDataEncryptionActive()
public static boolean isProjectInboxEncryptionActive()
Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.