public class KerberosProperties extends Object
| Modifier and Type | Field and Description |
|---|---|
private File |
kerberosConfigFile |
private Validator |
kerberosConfigValidator |
private PropertyDescriptor |
kerberosKeytab |
private PropertyDescriptor |
kerberosPrincipal |
| Modifier | Constructor and Description |
|---|---|
private |
KerberosProperties(File kerberosConfigFile) |
| Modifier and Type | Method and Description |
|---|---|
static KerberosProperties |
create(NiFiProperties niFiProperties) |
File |
getKerberosConfigFile() |
Validator |
getKerberosConfigValidator() |
PropertyDescriptor |
getKerberosKeytab() |
PropertyDescriptor |
getKerberosPrincipal() |
static List<ValidationResult> |
validatePrincipalAndKeytab(String subject,
org.apache.hadoop.conf.Configuration config,
String principal,
String keytab,
ComponentLog logger) |
private final File kerberosConfigFile
private final Validator kerberosConfigValidator
private final PropertyDescriptor kerberosPrincipal
private final PropertyDescriptor kerberosKeytab
private KerberosProperties(File kerberosConfigFile)
public static KerberosProperties create(NiFiProperties niFiProperties)
public File getKerberosConfigFile()
public Validator getKerberosConfigValidator()
public PropertyDescriptor getKerberosPrincipal()
public PropertyDescriptor getKerberosKeytab()
public static List<ValidationResult> validatePrincipalAndKeytab(String subject, org.apache.hadoop.conf.Configuration config, String principal, String keytab, ComponentLog logger)
Copyright © 2016 Apache NiFi Project. All rights reserved.