public class KafkaJaasLoginModuleInitializer
extends java.lang.Object
implements org.springframework.beans.factory.SmartInitializingSingleton, org.springframework.beans.factory.DisposableBean
AppConfigurationEntry
that can be used
for the Kafka client.Modifier and Type | Class and Description |
---|---|
static class |
KafkaJaasLoginModuleInitializer.ControlFlag
Control flag values for login configuration.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
KAFKA_CLIENT_CONTEXT_NAME
The key for the kafka client configuration entry.
|
Constructor and Description |
---|
KafkaJaasLoginModuleInitializer() |
Modifier and Type | Method and Description |
---|---|
void |
afterSingletonsInstantiated() |
void |
destroy() |
void |
setControlFlag(KafkaJaasLoginModuleInitializer.ControlFlag controlFlag) |
void |
setLoginModule(java.lang.String loginModule) |
void |
setOptions(java.util.Map<java.lang.String,java.lang.String> options) |
public static final java.lang.String KAFKA_CLIENT_CONTEXT_NAME
public KafkaJaasLoginModuleInitializer() throws java.io.IOException
java.io.IOException
public void setLoginModule(java.lang.String loginModule)
public void setControlFlag(KafkaJaasLoginModuleInitializer.ControlFlag controlFlag)
public void setOptions(java.util.Map<java.lang.String,java.lang.String> options)
public void afterSingletonsInstantiated()
afterSingletonsInstantiated
in interface org.springframework.beans.factory.SmartInitializingSingleton
public void destroy() throws java.lang.Exception
destroy
in interface org.springframework.beans.factory.DisposableBean
java.lang.Exception