mirror of https://github.com/apache/nifi.git
NIFI-13339 Set sensitive as true in USM Users JSON content on ListenTrapSNMP
This closes #8908 Signed-off-by: David Handermann <exceptionfactory@apache.org>
This commit is contained in:
parent
85cf0e995e
commit
7a85da9fee
|
@ -108,6 +108,7 @@ public class ListenTrapSNMP extends AbstractSessionFactoryProcessor implements V
|
||||||
.displayName("USM Users JSON content")
|
.displayName("USM Users JSON content")
|
||||||
.description("The JSON containing the user credentials for SNMPv3. Check Usage for more details.")
|
.description("The JSON containing the user credentials for SNMPv3. Check Usage for more details.")
|
||||||
.required(false)
|
.required(false)
|
||||||
|
.sensitive(true)
|
||||||
.dependsOn(BasicProperties.SNMP_VERSION, BasicProperties.SNMP_V3)
|
.dependsOn(BasicProperties.SNMP_VERSION, BasicProperties.SNMP_V3)
|
||||||
.dependsOn(SNMP_USM_USER_SOURCE, USM_JSON_CONTENT)
|
.dependsOn(SNMP_USM_USER_SOURCE, USM_JSON_CONTENT)
|
||||||
.addValidator(JsonValidator.INSTANCE)
|
.addValidator(JsonValidator.INSTANCE)
|
||||||
|
|
Loading…
Reference in New Issue