Package de.xima.fc.encryption.db
Class DBEncryptionProcessor
- java.lang.Object
 - 
- de.xima.fc.encryption.db.DBEncryptionProcessor
 
 
- 
- All Implemented Interfaces:
 IDBEncryptionProcessor
public class DBEncryptionProcessor extends Object implements IDBEncryptionProcessor
 
- 
- 
Constructor Summary
Constructors Constructor Description DBEncryptionProcessor() 
- 
Method Summary
 
 - 
 
- 
- 
Method Detail
- 
init
public void init()
- Specified by:
 initin interfaceIDBEncryptionProcessor
 
- 
init
public void init(String password, EDBEncryptionAlgorithm algorithm)
 
- 
getStringEncryptor
public IDBStringEncryptor getStringEncryptor()
- Specified by:
 getStringEncryptorin interfaceIDBEncryptionProcessor
 
- 
getBinaryEncryptor
public IDBBinaryEncryptor getBinaryEncryptor()
- Specified by:
 getBinaryEncryptorin interfaceIDBEncryptionProcessor
 
- 
getFormDataStringEncryptor
public IDBStringEncryptor getFormDataStringEncryptor()
- Specified by:
 getFormDataStringEncryptorin interfaceIDBEncryptionProcessor
 
- 
getFormDataBinaryEncryptor
public IDBBinaryEncryptor getFormDataBinaryEncryptor()
- Specified by:
 getFormDataBinaryEncryptorin interfaceIDBEncryptionProcessor
 
- 
buildStringEncryptor
public IDBStringEncryptor buildStringEncryptor(String encryptionPassword, EDBEncryptionAlgorithm encryptionAlgorithm, boolean active)
- Specified by:
 buildStringEncryptorin interfaceIDBEncryptionProcessor
 
- 
buildBinaryEncryptor
public IDBBinaryEncryptor buildBinaryEncryptor(String encryptionPassword, EDBEncryptionAlgorithm encryptionAlgorithm, boolean active)
- Specified by:
 buildBinaryEncryptorin interfaceIDBEncryptionProcessor
 
- 
migrate
public void migrate(EDBEncryptionAlgorithm newAlgorithm, String newPassword)
- Specified by:
 migratein interfaceIDBEncryptionProcessor
 
- 
updateProjectInboxTables
public void updateProjectInboxTables(int threadCount)
 
- 
updateAllEntities
public <T extends de.xima.cmn.dao.interfaces.ILockableEntity<Long>> void updateAllEntities(Class<T> entityClass, int pageSize, int threadCount)
 
- 
updateAllFiles
public <E extends IFileDataEntity<?>,T extends IFileEntity<?,E>> void updateAllFiles(Class<T> fileprovidingClass, int pageSize, int threadCount)
 
- 
checkEncryption
public EEncryptionTestResult checkEncryption(DataSource datasource, String encrypionPassword, EDBEncryptionAlgorithm encryptionAlforithm) throws SQLException
- Specified by:
 checkEncryptionin interfaceIDBEncryptionProcessor- Throws:
 SQLException
 
- 
checkEncryption
public EEncryptionTestResult checkEncryption(DataSource datasource, IDBStringEncryptor encryptor) throws SQLException
- Throws:
 SQLException
 
- 
updateEncryptionTestString
public SystemProperty updateEncryptionTestString()
 
- 
isConfigurationValid
public boolean isConfigurationValid()
- Specified by:
 isConfigurationValidin interfaceIDBEncryptionProcessor
 
 - 
 
 -