public static enum CookieAuthenticationHandler.CookieAuthState extends java.lang.Enum<CookieAuthenticationHandler.CookieAuthState>
Enum Constant and Description |
---|
COOKIE_CHECK_FAILED
A cookie had been sent and was supposed to be verified but it could not.
|
COOKIE_CHECK_SUCCESS
A cookie has been sent and was verified.
|
FAILED_COOKIE_EXPIRED
A cookie was receive but it has expired.
|
FAILED_COOKIE_INVALID_DIGEST
A cookie was receive but its digest was invalid.
|
FAILED_COOKIE_NOT_IN_DB
A cookie was receive but could not be found in database.
|
LOGGED_WITH_COOKIE
A valid cookie was use to set the logged member.
|
NEW_COOKIE_ADDED
A new authentication cookie was sent to user.
|
NEW_COOKIE_FAILED
A new authentication cookie could not be sent.
|
SKIPPED_ALREADY_LOGGED
Member is already logged in current context, Cookie authentication auth was skipped for current request.
|
SKIPPED_DISABLED
CookieAuthentication is disabled and was skipped for current request.
|
SKIPPED_NO_COOKIE
No memberId cookie was received, Cookie authentication was skipped for current request.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isSet(AuthenticationContext ctxt)
Check if this state was set for the specified AuthenticationContext
|
static CookieAuthenticationHandler.CookieAuthState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CookieAuthenticationHandler.CookieAuthState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CookieAuthenticationHandler.CookieAuthState SKIPPED_DISABLED
public static final CookieAuthenticationHandler.CookieAuthState SKIPPED_NO_COOKIE
public static final CookieAuthenticationHandler.CookieAuthState SKIPPED_ALREADY_LOGGED
public static final CookieAuthenticationHandler.CookieAuthState COOKIE_CHECK_FAILED
public static final CookieAuthenticationHandler.CookieAuthState COOKIE_CHECK_SUCCESS
public static final CookieAuthenticationHandler.CookieAuthState FAILED_COOKIE_INVALID_DIGEST
public static final CookieAuthenticationHandler.CookieAuthState FAILED_COOKIE_EXPIRED
public static final CookieAuthenticationHandler.CookieAuthState FAILED_COOKIE_NOT_IN_DB
public static final CookieAuthenticationHandler.CookieAuthState LOGGED_WITH_COOKIE
public static final CookieAuthenticationHandler.CookieAuthState NEW_COOKIE_ADDED
public static final CookieAuthenticationHandler.CookieAuthState NEW_COOKIE_FAILED
public static CookieAuthenticationHandler.CookieAuthState[] values()
for (CookieAuthenticationHandler.CookieAuthState c : CookieAuthenticationHandler.CookieAuthState.values()) System.out.println(c);
public static CookieAuthenticationHandler.CookieAuthState 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.