Search in sources :

Example 6 with EncryptionAtRestConfig

use of com.hazelcast.config.EncryptionAtRestConfig in project hazelcast by hazelcast.

the class MemberDomConfigProcessor method handleEncryptionAtRest.

private void handleEncryptionAtRest(Node encryptionAtRestRoot, HotRestartPersistenceConfig hrConfig) throws Exception {
    EncryptionAtRestConfig encryptionAtRestConfig = new EncryptionAtRestConfig();
    handleViaReflection(encryptionAtRestRoot, hrConfig, encryptionAtRestConfig, "secure-store");
    for (Node secureStore : childElementsWithName(encryptionAtRestRoot, "secure-store", strict)) {
        handleSecureStore(secureStore, encryptionAtRestConfig);
    }
    hrConfig.setEncryptionAtRestConfig(encryptionAtRestConfig);
}
Also used : EncryptionAtRestConfig(com.hazelcast.config.EncryptionAtRestConfig) Node(org.w3c.dom.Node)

Aggregations

EncryptionAtRestConfig (com.hazelcast.config.EncryptionAtRestConfig)6 PersistenceConfig (com.hazelcast.config.PersistenceConfig)4 SSLConfig (com.hazelcast.config.SSLConfig)3 QuickTest (com.hazelcast.test.annotation.QuickTest)3 File (java.io.File)3 Test (org.junit.Test)3 VaultSecureStoreConfig (com.hazelcast.config.VaultSecureStoreConfig)2 Node (org.w3c.dom.Node)2 AdvancedNetworkConfig (com.hazelcast.config.AdvancedNetworkConfig)1 AuditlogConfig (com.hazelcast.config.AuditlogConfig)1 EndpointConfig (com.hazelcast.config.EndpointConfig)1 JavaKeyStoreSecureStoreConfig (com.hazelcast.config.JavaKeyStoreSecureStoreConfig)1 SecurityConfig (com.hazelcast.config.SecurityConfig)1 EndpointQualifier (com.hazelcast.instance.EndpointQualifier)1 Map (java.util.Map)1