Class KerberosConfigurationBuilder
- java.lang.Object
-
- org.apache.camel.component.hdfs.kerberos.KerberosConfigurationBuilder
-
public final class KerberosConfigurationBuilder extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidsetKerberosConfigFile(String kerberosConfigFileLocation)To use kerberos authentication, set the value of the 'java.security.krb5.conf' environment variable to an existing file.static voidwithKerberosConfiguration(org.apache.hadoop.conf.Configuration configuration, HdfsConfiguration endpointConfig)Add all the kerberos specific settings needed for this authentication mode
-
-
-
Method Detail
-
withKerberosConfiguration
public static void withKerberosConfiguration(org.apache.hadoop.conf.Configuration configuration, HdfsConfiguration endpointConfig)Add all the kerberos specific settings needed for this authentication mode- Parameters:
endpointConfig- - configuration with the HA settings configured on the endpoint
-
setKerberosConfigFile
public static void setKerberosConfigFile(String kerberosConfigFileLocation)
To use kerberos authentication, set the value of the 'java.security.krb5.conf' environment variable to an existing file. If the environment variable is already set, warn if different than the specified parameter- Parameters:
kerberosConfigFileLocation- - kerb5.conf file (https://web.mit.edu/kerberos/krb5-1.12/doc/admin/conf_files/krb5_conf.html)
-
-