Class ZKAuthentication.JaasConfiguration
java.lang.Object
javax.security.auth.login.Configuration
org.apache.hadoop.hbase.zookeeper.ZKAuthentication.JaasConfiguration
- Enclosing class:
- ZKAuthentication
A JAAS configuration that defines the login modules that we want to use for ZooKeeper login.
-
Nested Class Summary
Nested classes/interfaces inherited from class javax.security.auth.login.Configuration
Configuration.Parameters
-
Field Summary
Modifier and TypeFieldDescriptionprivate Configuration
static final String
private static final AppConfigurationEntry[]
private static final AppConfigurationEntry
private final String
private static final org.slf4j.Logger
private final String
private final String
static final String
private final boolean
-
Constructor Summary
ModifierConstructorDescriptionJaasConfiguration
(String loginContextName, String principal, String keytabFile) private
JaasConfiguration
(String loginContextName, String principal, String keytabFile, boolean useTicketCache) -
Method Summary
Methods inherited from class javax.security.auth.login.Configuration
getConfiguration, getInstance, getInstance, getInstance, getParameters, getProvider, getType, refresh, setConfiguration
-
Field Details
-
LOG
-
SERVER_KEYTAB_KERBEROS_CONFIG_NAME
- See Also:
-
CLIENT_KEYTAB_KERBEROS_CONFIG_NAME
- See Also:
-
BASIC_JAAS_OPTIONS
-
KEYTAB_KERBEROS_OPTIONS
-
KEYTAB_KERBEROS_LOGIN
-
KEYTAB_KERBEROS_CONF
-
baseConfig
-
loginContextName
-
useTicketCache
-
keytabFile
-
principal
-
-
Constructor Details
-
JaasConfiguration
-
JaasConfiguration
private JaasConfiguration(String loginContextName, String principal, String keytabFile, boolean useTicketCache)
-
-
Method Details
-
getAppConfigurationEntry
- Specified by:
getAppConfigurationEntry
in classConfiguration
-