Class EncryptionReplacer

java.lang.Object
com.hazelcast.config.replacer.AbstractPbeReplacer
com.hazelcast.config.replacer.EncryptionReplacer
All Implemented Interfaces:
ConfigReplacer

public class EncryptionReplacer
extends AbstractPbeReplacer
This class is an example ConfigReplacer implementation which decrypts encrypted values.

The main(String...) method is provided to generate the encrypted variables.

This class extends AbstractPbeReplacer where the main encryption logic is located. This class implements getPassword() method and depending on configuration allows to use a password file and/or user properties (name and HOME) and/or network interface properties (MAC address).