public enum AuthenticationFeature extends Enum<AuthenticationFeature> implements ConfigFeature
| Enum Constant and Description |
|---|
CORS
Feature that determines whether CORS is supported or not.
|
IGNORE_PRE_AUTHN_ERROR
Feature that determines whether continue the AUTH filter chain if auth goes failure in
PreAuthenticationFilter |
STRICT_TOKEN
Feature that determines whether token is required or not in http header .
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
enabledByDefault()
Accessor for checking whether this feature is enabled by default.
|
int |
getMask()
Returns bit mask for this feature instance
|
static AuthenticationFeature |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthenticationFeature[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthenticationFeature CORS
And false as default value.
public static final AuthenticationFeature STRICT_TOKEN
And true as default value.
public static final AuthenticationFeature IGNORE_PRE_AUTHN_ERROR
PreAuthenticationFilter
And false as default value.
public static AuthenticationFeature[] values()
for (AuthenticationFeature c : AuthenticationFeature.values()) System.out.println(c);
public static AuthenticationFeature valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic boolean enabledByDefault()
ConfigFeatureenabledByDefault in interface ConfigFeaturepublic int getMask()
ConfigFeaturegetMask in interface ConfigFeatureCopyright © 2018. All rights reserved.