public static enum SimpleAuthenticationHandler.SimpleAuthState extends java.lang.Enum<SimpleAuthenticationHandler.SimpleAuthState>
Enum Constant and Description |
---|
FAILED_CSRF
SimpleAuth failed because CSRF token was missing or was invalid.
|
FAILED_INVALID_CREDENTIALS
SimpleAuth failed because specified credential are invalid.
|
LOGGED_WITH_SIMPLE_AUTH
Credentials were specified and were used to set the loggedMember.
|
REDIRECT
A redirection was performed following change of logged member.
|
SKIPPED_ALREADY_LOGGED
Member is already logged in current context, SimpleAuth was skipped for current request.
|
SKIPPED_DISABLED
SimpleAuth is disabled and was skipped for current request.
|
SKIPPED_NO_CREDENTIALS
SimpleAuth was skipped as no credential were specified.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isSet(AuthenticationContext ctxt)
Check if this state was set for the specified AuthenticationContext
|
static SimpleAuthenticationHandler.SimpleAuthState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SimpleAuthenticationHandler.SimpleAuthState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SimpleAuthenticationHandler.SimpleAuthState SKIPPED_DISABLED
public static final SimpleAuthenticationHandler.SimpleAuthState SKIPPED_NO_CREDENTIALS
public static final SimpleAuthenticationHandler.SimpleAuthState SKIPPED_ALREADY_LOGGED
public static final SimpleAuthenticationHandler.SimpleAuthState FAILED_CSRF
public static final SimpleAuthenticationHandler.SimpleAuthState FAILED_INVALID_CREDENTIALS
public static final SimpleAuthenticationHandler.SimpleAuthState LOGGED_WITH_SIMPLE_AUTH
public static final SimpleAuthenticationHandler.SimpleAuthState REDIRECT
public static SimpleAuthenticationHandler.SimpleAuthState[] values()
for (SimpleAuthenticationHandler.SimpleAuthState c : SimpleAuthenticationHandler.SimpleAuthState.values()) System.out.println(c);
public static SimpleAuthenticationHandler.SimpleAuthState 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 nullpublic boolean isSet(AuthenticationContext ctxt)
ctxt
- the AuthenticationContext in which to check stateCopyright © 2001-2021 Jalios SA. All Rights Reserved.