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 OPTIONAL
Optional - TheLoginModule
is not required to succeed.REQUIRED
Required - TheLoginModule
is required to succeed.REQUISITE
Requisite - TheLoginModule
is required to succeed.SUFFICIENT
Sufficient - TheLoginModule
is not required to succeed.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static KafkaJaasLoginModuleInitializer.ControlFlag
valueOf(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 - TheLoginModule
is required to succeed. If it succeeds or fails, authentication still continues to proceed down theLoginModule
list.
-
REQUISITE
public static final KafkaJaasLoginModuleInitializer.ControlFlag REQUISITE
Requisite - TheLoginModule
is required to succeed. If it succeeds, authentication continues down theLoginModule
list. If it fails, control immediately returns to the application (authentication does not proceed down theLoginModule
list).
-
SUFFICIENT
public static final KafkaJaasLoginModuleInitializer.ControlFlag SUFFICIENT
Sufficient - TheLoginModule
is not required to succeed. If it does succeed, control immediately returns to the application (authentication does not proceed down theLoginModule
list). If it fails, authentication continues down theLoginModule
list.
-
OPTIONAL
public static final KafkaJaasLoginModuleInitializer.ControlFlag OPTIONAL
Optional - TheLoginModule
is not required to succeed. If it succeeds or fails, authentication still continues to proceed down theLoginModule
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 namejava.lang.NullPointerException
- if the argument is null
-
-