Enum KafkaJaasLoginModuleInitializer.ControlFlag
- java.lang.Object
-
- java.lang.Enum<KafkaJaasLoginModuleInitializer.ControlFlag>
-
- org.springframework.kafka.security.jaas.KafkaJaasLoginModuleInitializer.ControlFlag
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<KafkaJaasLoginModuleInitializer.ControlFlag>
- Enclosing class:
- KafkaJaasLoginModuleInitializer
public static enum KafkaJaasLoginModuleInitializer.ControlFlag extends java.lang.Enum<KafkaJaasLoginModuleInitializer.ControlFlag>
Control flag values for login configuration.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description OPTIONALOptional - TheLoginModuleis not required to succeed.REQUIREDRequired - TheLoginModuleis required to succeed.REQUISITERequisite - TheLoginModuleis required to succeed.SUFFICIENTSufficient - TheLoginModuleis not required to succeed.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static KafkaJaasLoginModuleInitializer.ControlFlagvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static KafkaJaasLoginModuleInitializer.ControlFlag[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REQUIRED
public static final KafkaJaasLoginModuleInitializer.ControlFlag REQUIRED
Required - TheLoginModuleis required to succeed. If it succeeds or fails, authentication still continues to proceed down theLoginModulelist.
-
REQUISITE
public static final KafkaJaasLoginModuleInitializer.ControlFlag REQUISITE
Requisite - TheLoginModuleis required to succeed. If it succeeds, authentication continues down theLoginModulelist. If it fails, control immediately returns to the application (authentication does not proceed down theLoginModulelist).
-
SUFFICIENT
public static final KafkaJaasLoginModuleInitializer.ControlFlag SUFFICIENT
Sufficient - TheLoginModuleis not required to succeed. If it does succeed, control immediately returns to the application (authentication does not proceed down theLoginModulelist). If it fails, authentication continues down theLoginModulelist.
-
OPTIONAL
public static final KafkaJaasLoginModuleInitializer.ControlFlag OPTIONAL
Optional - TheLoginModuleis not required to succeed. If it succeeds or fails, authentication still continues to proceed down theLoginModulelist.
-
-
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 namejava.lang.NullPointerException- if the argument is null
-
-