Enum Class SilentParamsAuthenticationHandler.SilentParamsAuthState
java.lang.Object
java.lang.Enum<SilentParamsAuthenticationHandler.SilentParamsAuthState>
com.jalios.jcms.authentication.handlers.SilentParamsAuthenticationHandler.SilentParamsAuthState
- All Implemented Interfaces:
Serializable,Comparable<SilentParamsAuthenticationHandler.SilentParamsAuthState>,Constable
- Enclosing class:
SilentParamsAuthenticationHandler
public static enum SilentParamsAuthenticationHandler.SilentParamsAuthState
extends Enum<SilentParamsAuthenticationHandler.SilentParamsAuthState>
Possible SilentParams authentication state after handler invocation.
AuthenticationContext may cumulate several states.
- Since:
- jcms-10.0.5 / JCMS-7956
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSilent params were received but were invalid and could not be used to set the loggedMember.Silent params were received and were valided and used to set the loggedMember.Member is already logged in current context, SilentParams auth was skipped for current request.SilentParams is disabled and was skipped for current request.SilentParams was skipped as no params could be found. -
Method Summary
Modifier and TypeMethodDescriptionbooleanisSet(AuthenticationContext ctxt) Check if this state was set for the specified AuthenticationContextReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SKIPPED_DISABLED
SilentParams is disabled and was skipped for current request. -
SKIPPED_NO_SILENT_PARAMS
public static final SilentParamsAuthenticationHandler.SilentParamsAuthState SKIPPED_NO_SILENT_PARAMSSilentParams was skipped as no params could be found. -
SKIPPED_ALREADY_LOGGED
Member is already logged in current context, SilentParams auth was skipped for current request. -
FAILED_INVALID_SILENT_PARAMS
public static final SilentParamsAuthenticationHandler.SilentParamsAuthState FAILED_INVALID_SILENT_PARAMSSilent params were received but were invalid and could not be used to set the loggedMember. -
LOGGED_WITH_SILENTPARAMS
public static final SilentParamsAuthenticationHandler.SilentParamsAuthState LOGGED_WITH_SILENTPARAMSSilent params were received and were valided and used to set the loggedMember.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
isSet
Check if this state was set for the specified AuthenticationContext- Parameters:
ctxt- the AuthenticationContext in which to check state- Returns:
- true if state was encountered, false otherwise
-