mirror of
https://github.com/apache/cloudstack
synced 2026-08-02 05:26:35 +00:00
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
Block a user