Class TrustedDevicesMultifactorCoreProperties
java.lang.Object
org.apereo.cas.configuration.model.support.mfa.trusteddevice.TrustedDevicesMultifactorCoreProperties
- All Implemented Interfaces:
Serializable
@RequiresModule(name="cas-server-support-trusted-mfa")
public class TrustedDevicesMultifactorCoreProperties
extends Object
implements Serializable
- Since:
- 5.2.0
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionIf an MFA request is bypassed due to a trusted authentication decision, applications will receive a special attribute as part of the validation payload that indicates this behavior.boolean
When device registration is enabled, indicate whether a device name should be automatically selected and assigned by CAS.boolean
Indicates whether CAS should ask for device registration consent or execute it automatically.setAuthenticationContextAttribute
(String authenticationContextAttribute) If an MFA request is bypassed due to a trusted authentication decision, applications will receive a special attribute as part of the validation payload that indicates this behavior.setAutoAssignDeviceName
(boolean autoAssignDeviceName) When device registration is enabled, indicate whether a device name should be automatically selected and assigned by CAS.setDeviceRegistrationEnabled
(boolean deviceRegistrationEnabled) Indicates whether CAS should ask for device registration consent or execute it automatically.
-
Constructor Details
-
TrustedDevicesMultifactorCoreProperties
public TrustedDevicesMultifactorCoreProperties()
-
-
Method Details
-
getAuthenticationContextAttribute
If an MFA request is bypassed due to a trusted authentication decision, applications will receive a special attribute as part of the validation payload that indicates this behavior. Applications must further account for the scenario where they ask for an MFA mode and yet don’t receive confirmation of it in the response given the authentication session was trusted and MFA bypassed. -
isDeviceRegistrationEnabled
public boolean isDeviceRegistrationEnabled()Indicates whether CAS should ask for device registration consent or execute it automatically. -
isAutoAssignDeviceName
public boolean isAutoAssignDeviceName()When device registration is enabled, indicate whether a device name should be automatically selected and assigned by CAS. -
setAuthenticationContextAttribute
public TrustedDevicesMultifactorCoreProperties setAuthenticationContextAttribute(String authenticationContextAttribute) If an MFA request is bypassed due to a trusted authentication decision, applications will receive a special attribute as part of the validation payload that indicates this behavior. Applications must further account for the scenario where they ask for an MFA mode and yet don’t receive confirmation of it in the response given the authentication session was trusted and MFA bypassed.- Returns:
this
.
-
setDeviceRegistrationEnabled
public TrustedDevicesMultifactorCoreProperties setDeviceRegistrationEnabled(boolean deviceRegistrationEnabled) Indicates whether CAS should ask for device registration consent or execute it automatically.- Returns:
this
.
-
setAutoAssignDeviceName
public TrustedDevicesMultifactorCoreProperties setAutoAssignDeviceName(boolean autoAssignDeviceName) When device registration is enabled, indicate whether a device name should be automatically selected and assigned by CAS.- Returns:
this
.
-