Class DuoSecurityMultifactorAuthenticationRegistrationProperties
java.lang.Object
org.apereo.cas.configuration.model.support.mfa.duo.DuoSecurityMultifactorAuthenticationRegistrationProperties
- All Implemented Interfaces:
Serializable
@RequiresModule(name="cas-server-support-duo")
public class DuoSecurityMultifactorAuthenticationRegistrationProperties
extends Object
implements Serializable
- Since:
- 5.2.0
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCrypto settings on duo registration payloads and redirects to the url.Link to a registration app, typically developed in-house in order to allow new users to sign-up for duo functionality.Crypto settings on duo registration payloads and redirects to the url.setRegistrationUrl
(String registrationUrl) Link to a registration app, typically developed in-house in order to allow new users to sign-up for duo functionality.
-
Constructor Details
-
DuoSecurityMultifactorAuthenticationRegistrationProperties
public DuoSecurityMultifactorAuthenticationRegistrationProperties()
-
-
Method Details
-
getCrypto
Crypto settings on duo registration payloads and redirects to the url. -
getRegistrationUrl
Link to a registration app, typically developed in-house in order to allow new users to sign-up for duo functionality. If the user account status requires enrollment and this link is specified, CAS will redirect the authentication flow to this registration app. Otherwise, the default duo mechanism for new-user registrations shall take over. Upon redirecting to the registration app, CAS would also build aprincipal
parameter into the registration URL, typically in form of a JSON web token that conveys the user's identity. This JWT can be signed and/or encrypted using settings defined via thegetCrypto()
configuration block here. -
setCrypto
public DuoSecurityMultifactorAuthenticationRegistrationProperties setCrypto(EncryptionOptionalSigningOptionalJwtCryptographyProperties crypto) Crypto settings on duo registration payloads and redirects to the url.- Returns:
this
.
-
setRegistrationUrl
public DuoSecurityMultifactorAuthenticationRegistrationProperties setRegistrationUrl(String registrationUrl) Link to a registration app, typically developed in-house in order to allow new users to sign-up for duo functionality. If the user account status requires enrollment and this link is specified, CAS will redirect the authentication flow to this registration app. Otherwise, the default duo mechanism for new-user registrations shall take over. Upon redirecting to the registration app, CAS would also build aprincipal
parameter into the registration URL, typically in form of a JSON web token that conveys the user's identity. This JWT can be signed and/or encrypted using settings defined via thegetCrypto()
configuration block here.- Returns:
this
.
-