Before any database calls are made we need to make sure that encryption

is properly initialized if we have an encrypted db.properties.
This commit is contained in:
Hugo Trippaers 2013-02-06 15:53:50 +01:00
parent c5185c09ef
commit b1d70f7fe3
1 changed files with 6 additions and 0 deletions

View File

@ -93,6 +93,12 @@ public class Transaction {
} catch (Exception e) {
s_logger.error("Unable to register mbean for transaction", e);
}
/* FIXME: We need a better solution for this
* Initialize encryption if we need it for db.properties
*/
EncryptionSecretKeyChecker enc = new EncryptionSecretKeyChecker();
enc.check();
}
private final LinkedList<StackElement> _stack;