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)
|
.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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue