public static enum KafkaJaasLoginModuleInitializer.ControlFlag extends java.lang.Enum<KafkaJaasLoginModuleInitializer.ControlFlag>
Enum Constant and 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. |
Modifier and Type | Method and 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.
|
public static final KafkaJaasLoginModuleInitializer.ControlFlag REQUIRED
LoginModule
is required to succeed. If it succeeds or
fails, authentication still continues to proceed down the LoginModule
list.public static final KafkaJaasLoginModuleInitializer.ControlFlag REQUISITE
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).public static final KafkaJaasLoginModuleInitializer.ControlFlag SUFFICIENT
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.public static final KafkaJaasLoginModuleInitializer.ControlFlag OPTIONAL
LoginModule
is not required to succeed. If it succeeds
or fails, authentication still continues to proceed down the
LoginModule
list.public static KafkaJaasLoginModuleInitializer.ControlFlag[] values()
for (KafkaJaasLoginModuleInitializer.ControlFlag c : KafkaJaasLoginModuleInitializer.ControlFlag.values()) System.out.println(c);
public static KafkaJaasLoginModuleInitializer.ControlFlag valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null