Enum KafkaJaasLoginModuleInitializer.ControlFlag

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      OPTIONAL
      Optional - The LoginModule is not required to succeed.
      REQUIRED
      Required - The LoginModule is required to succeed.
      REQUISITE
      Requisite - The LoginModule is required to succeed.
      SUFFICIENT
      Sufficient - The LoginModule is not required to succeed.
    • Enum Constant Detail

      • REQUIRED

        public static final KafkaJaasLoginModuleInitializer.ControlFlag REQUIRED
        Required - The LoginModule is required to succeed. If it succeeds or fails, authentication still continues to proceed down the LoginModule list.
      • REQUISITE

        public static final KafkaJaasLoginModuleInitializer.ControlFlag REQUISITE
        Requisite - The LoginModule is required to succeed. If it succeeds, authentication continues down the LoginModule list. If it fails, control immediately returns to the application (authentication does not proceed down the LoginModule list).
      • SUFFICIENT

        public static final KafkaJaasLoginModuleInitializer.ControlFlag SUFFICIENT
        Sufficient - The LoginModule is not required to succeed. If it does succeed, control immediately returns to the application (authentication does not proceed down the LoginModule list). If it fails, authentication continues down the LoginModule list.
      • OPTIONAL

        public static final KafkaJaasLoginModuleInitializer.ControlFlag OPTIONAL
        Optional - The LoginModule is not required to succeed. If it succeeds or fails, authentication still continues to proceed down the LoginModule list.
    • Method Detail

      • values

        public static KafkaJaasLoginModuleInitializer.ControlFlag[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (KafkaJaasLoginModuleInitializer.ControlFlag c : KafkaJaasLoginModuleInitializer.ControlFlag.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static KafkaJaasLoginModuleInitializer.ControlFlag valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null