public static enum DelegationAuthenticationHandler.DelegationAuthState extends java.lang.Enum<DelegationAuthenticationHandler.DelegationAuthState>
Enum Constant and Description |
---|
DELEGATION_LOGBACK
Delegation was used to logout to a previously authenticated user in the session.
|
DELEGATION_LOGIN
Delegation was used to login to a new user in the session.
|
FAILED_CSRF
Delegation failed because CSRF token was missing or was invalid.
|
FAILED_INVALID_SULOGIN_PARAM
Delegation failed because specified credential are invalid.
|
FAILED_UNAUTHORIZED
Delegation failed because specified currently logged member is not authorized to delegate as specified target member.
|
LOGGED_WITH_DELEGATION
Delegation was used to set the loggedMember.
|
SKIPPED_DISABLED
Delegation is disabled and was skipped for current request.
|
SKIPPED_NO_SULOGIN_PARAM
Delegation was skipped as no parameter was specified.
|
SKIPPED_NOT_LOGGED
Delegation was skipped as Member is not logged in current context, delegation require an currently logged member.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isSet(AuthenticationContext ctxt)
Check if this state was set for the specified AuthenticationContext
|
static DelegationAuthenticationHandler.DelegationAuthState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DelegationAuthenticationHandler.DelegationAuthState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DelegationAuthenticationHandler.DelegationAuthState SKIPPED_DISABLED
public static final DelegationAuthenticationHandler.DelegationAuthState SKIPPED_NO_SULOGIN_PARAM
public static final DelegationAuthenticationHandler.DelegationAuthState SKIPPED_NOT_LOGGED
public static final DelegationAuthenticationHandler.DelegationAuthState FAILED_INVALID_SULOGIN_PARAM
public static final DelegationAuthenticationHandler.DelegationAuthState FAILED_UNAUTHORIZED
public static final DelegationAuthenticationHandler.DelegationAuthState FAILED_CSRF
public static final DelegationAuthenticationHandler.DelegationAuthState LOGGED_WITH_DELEGATION
public static final DelegationAuthenticationHandler.DelegationAuthState DELEGATION_LOGIN
public static final DelegationAuthenticationHandler.DelegationAuthState DELEGATION_LOGBACK
public static DelegationAuthenticationHandler.DelegationAuthState[] values()
for (DelegationAuthenticationHandler.DelegationAuthState c : DelegationAuthenticationHandler.DelegationAuthState.values()) System.out.println(c);
public static DelegationAuthenticationHandler.DelegationAuthState 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.