Class KafkaJaasLoginModuleInitializer
java.lang.Object
org.springframework.kafka.security.jaas.KafkaJaasLoginModuleInitializer
- All Implemented Interfaces:
org.springframework.beans.factory.DisposableBean
,org.springframework.beans.factory.SmartInitializingSingleton
public class KafkaJaasLoginModuleInitializer
extends Object
implements org.springframework.beans.factory.SmartInitializingSingleton, org.springframework.beans.factory.DisposableBean
Contains properties for setting up an
AppConfigurationEntry
that can be used
for the Kafka client.- Since:
- 1.3
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Control flag values for login configuration. -
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The key for the kafka client configuration entry. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
destroy()
void
void
setLoginModule
(String loginModule) void
setOptions
(Map<String, String> options)
-
Field Details
-
KAFKA_CLIENT_CONTEXT_NAME
The key for the kafka client configuration entry.- See Also:
-
-
Constructor Details
-
KafkaJaasLoginModuleInitializer
- Throws:
IOException
-
-
Method Details
-
setLoginModule
-
setControlFlag
-
setOptions
-
afterSingletonsInstantiated
public void afterSingletonsInstantiated()- Specified by:
afterSingletonsInstantiated
in interfaceorg.springframework.beans.factory.SmartInitializingSingleton
-
destroy
public void destroy()- Specified by:
destroy
in interfaceorg.springframework.beans.factory.DisposableBean
-