Class EncryptionFilter.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • masterPassword

        public EncryptionFilter.Builder masterPassword​(char[] password)
        Master password for AES based decryption.
        Parameters:
        password - password to use
        Returns:
        updated builder instance
      • privateKey

        public EncryptionFilter.Builder privateKey​(KeyConfig privateKey)
        Private key for RSA based decryption.
        Parameters:
        privateKey - private key to use
        Returns:
        updated builder instance
      • requireEncryption

        public EncryptionFilter.Builder requireEncryption​(boolean require)
        Whether to require encryption of passwords in properties.
        Parameters:
        require - if set to true, clear text passwords will fail
        Returns:
        updated builder instance