mirror of https://github.com/apache/nifi.git
NIFI-2923 Add expression language support to Kerberos parameters used by processors
Signed-off-by: Bryan Bende <bbende@apache.org>
This commit is contained in:
parent
73e601bc55
commit
86fa1bba4f
|
@ -84,6 +84,7 @@ public class KerberosProperties {
|
|||
.required(false)
|
||||
.description("Kerberos principal to authenticate as. Requires nifi.kerberos.krb5.file to be set in your nifi.properties")
|
||||
.addValidator(kerberosConfigValidator)
|
||||
.expressionLanguageSupported(true)
|
||||
.build();
|
||||
|
||||
this.kerberosKeytab = new PropertyDescriptor.Builder()
|
||||
|
@ -91,6 +92,7 @@ public class KerberosProperties {
|
|||
.description("Kerberos keytab associated with the principal. Requires nifi.kerberos.krb5.file to be set in your nifi.properties")
|
||||
.addValidator(StandardValidators.FILE_EXISTS_VALIDATOR)
|
||||
.addValidator(kerberosConfigValidator)
|
||||
.expressionLanguageSupported(true)
|
||||
.build();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue