mirror of https://github.com/apache/nifi.git
NIFI-1030 made InvokeHttp basic auth password a sensitive value
Signed-off-by: Aldrin Piri <aldrin@apache.org>
This commit is contained in:
parent
2583d7869a
commit
b4bfcc1f21
|
@ -277,6 +277,7 @@ public final class InvokeHTTP extends AbstractProcessor {
|
||||||
.displayName("Basic Authentication Password")
|
.displayName("Basic Authentication Password")
|
||||||
.description("The password to be used by the client to authenticate against the Remote URL.")
|
.description("The password to be used by the client to authenticate against the Remote URL.")
|
||||||
.required(false)
|
.required(false)
|
||||||
|
.sensitive(true)
|
||||||
.addValidator(StandardValidators.createRegexMatchingValidator(Pattern.compile("^[\\x20-\\x7e\\x80-\\xff]+$")))
|
.addValidator(StandardValidators.createRegexMatchingValidator(Pattern.compile("^[\\x20-\\x7e\\x80-\\xff]+$")))
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue