private static class ZKUtil.JaasConfiguration extends Configuration
Configuration.Parameters
Modifier and Type | Field and Description |
---|---|
private Configuration |
baseConfig |
private static Map<String,String> |
BASIC_JAAS_OPTIONS |
private 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 String |
loginContextName |
private String |
principal |
private static String |
SERVER_KEYTAB_KERBEROS_CONFIG_NAME |
private boolean |
useTicketCache |
Modifier | Constructor and Description |
---|---|
|
ZKUtil.JaasConfiguration(String loginContextName,
String principal) |
|
ZKUtil.JaasConfiguration(String loginContextName,
String principal,
String keytabFile) |
private |
ZKUtil.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 String SERVER_KEYTAB_KERBEROS_CONFIG_NAME
private static final String CLIENT_KEYTAB_KERBEROS_CONFIG_NAME
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
private final String principal
public ZKUtil.JaasConfiguration(String loginContextName, String principal, String keytabFile)
public AppConfigurationEntry[] getAppConfigurationEntry(String appName)
getAppConfigurationEntry
in class Configuration
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.