Class MultifactorAuthenticationCoreProperties
java.lang.Object
org.apereo.cas.configuration.model.support.mfa.MultifactorAuthenticationCoreProperties
- All Implemented Interfaces:
Serializable
@RequiresModule(name="cas-server-core-authentication",
automated=true)
public class MultifactorAuthenticationCoreProperties
extends Object
implements Serializable
- Since:
- 6.4.0
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAttribute returned in the final CAS validation payload that indicates the authentication context class satisfied in the event of a multifactor authentication attempt.Content-type that is expected to be specified by non-web clients such as curl, etc in the event that the provider supports variations of non-browser based MFA.Defines the global failure mode for the entire deployment.In the event that multiple multifactor authentication providers are determined for a multifactor authentication transaction, the collection of settings here control mfa selection rules.setAuthenticationContextAttribute
(String authenticationContextAttribute) Attribute returned in the final CAS validation payload that indicates the authentication context class satisfied in the event of a multifactor authentication attempt.setContentType
(String contentType) Content-type that is expected to be specified by non-web clients such as curl, etc in the event that the provider supports variations of non-browser based MFA.setGlobalFailureMode
(BaseMultifactorAuthenticationProviderProperties.MultifactorAuthenticationProviderFailureModes globalFailureMode) Defines the global failure mode for the entire deployment.setProviderSelection
(MultifactorAuthenticationProviderSelectionProperties providerSelection) In the event that multiple multifactor authentication providers are determined for a multifactor authentication transaction, the collection of settings here control mfa selection rules.
-
Constructor Details
-
MultifactorAuthenticationCoreProperties
public MultifactorAuthenticationCoreProperties()
-
-
Method Details
-
getAuthenticationContextAttribute
Attribute returned in the final CAS validation payload that indicates the authentication context class satisfied in the event of a multifactor authentication attempt. -
getGlobalFailureMode
public BaseMultifactorAuthenticationProviderProperties.MultifactorAuthenticationProviderFailureModes getGlobalFailureMode()Defines the global failure mode for the entire deployment. This is meant to be used a shortcut to define the policy globally rather than per application. Applications registered with CAS can still define a failure mode and override the global. -
getContentType
Content-type that is expected to be specified by non-web clients such as curl, etc in the event that the provider supports variations of non-browser based MFA. The value is treated as a regular expression. -
getProviderSelection
In the event that multiple multifactor authentication providers are determined for a multifactor authentication transaction, the collection of settings here control mfa selection rules. -
setAuthenticationContextAttribute
public MultifactorAuthenticationCoreProperties setAuthenticationContextAttribute(String authenticationContextAttribute) Attribute returned in the final CAS validation payload that indicates the authentication context class satisfied in the event of a multifactor authentication attempt.- Returns:
this
.
-
setGlobalFailureMode
public MultifactorAuthenticationCoreProperties setGlobalFailureMode(BaseMultifactorAuthenticationProviderProperties.MultifactorAuthenticationProviderFailureModes globalFailureMode) Defines the global failure mode for the entire deployment. This is meant to be used a shortcut to define the policy globally rather than per application. Applications registered with CAS can still define a failure mode and override the global.- Returns:
this
.
-
setContentType
Content-type that is expected to be specified by non-web clients such as curl, etc in the event that the provider supports variations of non-browser based MFA. The value is treated as a regular expression.- Returns:
this
.
-
setProviderSelection
public MultifactorAuthenticationCoreProperties setProviderSelection(MultifactorAuthenticationProviderSelectionProperties providerSelection) In the event that multiple multifactor authentication providers are determined for a multifactor authentication transaction, the collection of settings here control mfa selection rules.- Returns:
this
.
-