Class KafkaJaasLoginModuleInitializer

  • All Implemented Interfaces:
    org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.SmartInitializingSingleton

    public class KafkaJaasLoginModuleInitializer
    extends java.lang.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
    Author:
    Marius Bogoevici, Gary Russell, Edan Idzerda
    • Field Detail

      • KAFKA_CLIENT_CONTEXT_NAME

        public static final java.lang.String KAFKA_CLIENT_CONTEXT_NAME
        The key for the kafka client configuration entry.
        See Also:
        Constant Field Values
    • Constructor Detail

      • KafkaJaasLoginModuleInitializer

        public KafkaJaasLoginModuleInitializer()
                                        throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • setLoginModule

        public void setLoginModule​(java.lang.String loginModule)
      • setOptions

        public void setOptions​(java.util.Map<java.lang.String,​java.lang.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