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
  • Field Details

    • KAFKA_CLIENT_CONTEXT_NAME

      public static final String KAFKA_CLIENT_CONTEXT_NAME
      The key for the kafka client configuration entry.
      See Also:
  • Constructor Details

    • KafkaJaasLoginModuleInitializer

      public KafkaJaasLoginModuleInitializer() throws IOException
      Throws:
      IOException
  • Method Details

    • setLoginModule

      public void setLoginModule(String loginModule)
    • setControlFlag

      public void setControlFlag(KafkaJaasLoginModuleInitializer.ControlFlag controlFlag)
    • setOptions

      public void setOptions(Map<String,String> options)
    • afterSingletonsInstantiated

      public void afterSingletonsInstantiated()
      Specified by:
      afterSingletonsInstantiated in interface org.springframework.beans.factory.SmartInitializingSingleton
    • destroy

      public void destroy()
      Specified by:
      destroy in interface org.springframework.beans.factory.DisposableBean