Module io.helidon.config.encryption
Package io.helidon.config.encryption
Class EncryptionFilter.Builder
java.lang.Object
io.helidon.config.encryption.EncryptionFilter.Builder
- Enclosing class:
EncryptionFilter
Builder to programmatically setup
EncryptionFilter
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreate a newEncryptionFilter
provider based on this builder.masterPassword
(char[] password) Master password for AES based decryption.privateKey
(Keys privateKey) Private key for RSA based decryption.requireEncryption
(boolean require) Whether to require encryption of passwords in properties.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
masterPassword
Master password for AES based decryption.- Parameters:
password
- password to use- Returns:
- updated builder instance
-
privateKey
Private key for RSA based decryption.- Parameters:
privateKey
- private key to use- Returns:
- updated builder instance
-
requireEncryption
Whether to require encryption of passwords in properties.- Parameters:
require
- if set to true, clear text passwords will fail- Returns:
- updated builder instance
-
buildProvider
Create a newEncryptionFilter
provider based on this builder.- Returns:
- filter instance
-