public static class EncryptionFilter.Builder extends Object
EncryptionFilter.| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
Function<Config,ConfigFilter> |
buildProvider()
Create a new
EncryptionFilter provider based on this builder. |
EncryptionFilter.Builder |
masterPassword(char[] password)
Master password for AES based decryption.
|
EncryptionFilter.Builder |
privateKey(KeyConfig privateKey)
Private key for RSA based decryption.
|
EncryptionFilter.Builder |
requireEncryption(boolean require)
Whether to require encryption of passwords in properties.
|
public EncryptionFilter.Builder masterPassword(char[] password)
password - password to usepublic EncryptionFilter.Builder privateKey(KeyConfig privateKey)
privateKey - private key to usepublic EncryptionFilter.Builder requireEncryption(boolean require)
require - if set to true, clear text passwords will failpublic Function<Config,ConfigFilter> buildProvider()
EncryptionFilter provider based on this builder.Copyright © 2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.