private static class ZKAuthentication.JaasConfiguration extends Configuration
Configuration.Parameters
Modifier and Type | Field and Description |
---|---|
private Configuration |
baseConfig |
private static Map<String,String> |
BASIC_JAAS_OPTIONS |
static String |
CLIENT_KEYTAB_KERBEROS_CONFIG_NAME |
private static AppConfigurationEntry[] |
KEYTAB_KERBEROS_CONF |
private static AppConfigurationEntry |
KEYTAB_KERBEROS_LOGIN |
private static Map<String,String> |
KEYTAB_KERBEROS_OPTIONS |
private String |
keytabFile |
private static org.slf4j.Logger |
LOG |
private String |
loginContextName |
private String |
principal |
static String |
SERVER_KEYTAB_KERBEROS_CONFIG_NAME |
private boolean |
useTicketCache |
Modifier | Constructor and Description |
---|---|
|
JaasConfiguration(String loginContextName,
String principal,
String keytabFile) |
private |
JaasConfiguration(String loginContextName,
String principal,
String keytabFile,
boolean useTicketCache) |
Modifier and Type | Method and Description |
---|---|
AppConfigurationEntry[] |
getAppConfigurationEntry(String appName) |
getConfiguration, getInstance, getInstance, getInstance, getParameters, getProvider, getType, refresh, setConfiguration
private static final org.slf4j.Logger LOG
public static final String SERVER_KEYTAB_KERBEROS_CONFIG_NAME
public static final String CLIENT_KEYTAB_KERBEROS_CONFIG_NAME
private static final Map<String,String> BASIC_JAAS_OPTIONS
private static final Map<String,String> KEYTAB_KERBEROS_OPTIONS
private static final AppConfigurationEntry KEYTAB_KERBEROS_LOGIN
private static final AppConfigurationEntry[] KEYTAB_KERBEROS_CONF
private Configuration baseConfig
private final String loginContextName
private final boolean useTicketCache
private final String keytabFile
public JaasConfiguration(String loginContextName, String principal, String keytabFile)
private JaasConfiguration(String loginContextName, String principal, String keytabFile, boolean useTicketCache)
public AppConfigurationEntry[] getAppConfigurationEntry(String appName)
getAppConfigurationEntry
in class Configuration
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.