NIFI-1030 made InvokeHttp basic auth password a sensitive value

Signed-off-by: Aldrin Piri <aldrin@apache.org>
This commit is contained in:
Joseph Percivall 2015-10-08 15:33:16 -04:00 committed by Aldrin Piri
parent 2583d7869a
commit b4bfcc1f21
1 changed files with 1 additions and 0 deletions

View File

@ -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();