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:
Maurizio Colleluori 2016-10-19 23:54:22 +02:00 committed by Bryan Bende
parent 73e601bc55
commit 86fa1bba4f
No known key found for this signature in database
GPG Key ID: A0DDA9ED50711C39
1 changed files with 2 additions and 0 deletions

View File

@ -84,6 +84,7 @@ public class KerberosProperties {
.required(false) .required(false)
.description("Kerberos principal to authenticate as. Requires nifi.kerberos.krb5.file to be set in your nifi.properties") .description("Kerberos principal to authenticate as. Requires nifi.kerberos.krb5.file to be set in your nifi.properties")
.addValidator(kerberosConfigValidator) .addValidator(kerberosConfigValidator)
.expressionLanguageSupported(true)
.build(); .build();
this.kerberosKeytab = new PropertyDescriptor.Builder() 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") .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(StandardValidators.FILE_EXISTS_VALIDATOR)
.addValidator(kerberosConfigValidator) .addValidator(kerberosConfigValidator)
.expressionLanguageSupported(true)
.build(); .build();
} }