mirror of https://github.com/apache/cloudstack.git
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:
parent
c5185c09ef
commit
b1d70f7fe3
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue