Class PasswordlessAuthenticationCoreProperties
- All Implemented Interfaces:
Serializable
- Since:
- 5.3.0
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSelect the delegated identity provider for the passwordless user using a script.boolean
Allow passwordless authentication to skip its own flow in favor of delegated authentication providers that may be available and defined in CAS.boolean
Flag to indicate if paswordless authentication is enabled.boolean
Allow passwordless authentication to skip its own flow in favor of multifactor authentication providers that may be available and defined in CAS.setDelegatedAuthenticationActivated
(boolean delegatedAuthenticationActivated) Allow passwordless authentication to skip its own flow in favor of delegated authentication providers that may be available and defined in CAS.setDelegatedAuthenticationSelectorScript
(SpringResourceProperties delegatedAuthenticationSelectorScript) Select the delegated identity provider for the passwordless user using a script.setEnabled
(boolean enabled) Flag to indicate if paswordless authentication is enabled.setMultifactorAuthenticationActivated
(boolean multifactorAuthenticationActivated) Allow passwordless authentication to skip its own flow in favor of multifactor authentication providers that may be available and defined in CAS.
-
Constructor Details
-
PasswordlessAuthenticationCoreProperties
public PasswordlessAuthenticationCoreProperties()
-
-
Method Details
-
isEnabled
public boolean isEnabled()Flag to indicate if paswordless authentication is enabled. -
isMultifactorAuthenticationActivated
public boolean isMultifactorAuthenticationActivated()Allow passwordless authentication to skip its own flow in favor of multifactor authentication providers that may be available and defined in CAS.If multifactor authentication is activated, and defined MFA triggers in CAS signal availability and eligibility of an MFA flow for the given passwordless user, CAS will skip its normal passwordless authentication flow in favor of the requested multifactor authentication provider. If no MFA providers are available, or if no triggers require MFA for the verified passwordless user, passwordless authentication flow will commence as usual.
-
isDelegatedAuthenticationActivated
public boolean isDelegatedAuthenticationActivated()Allow passwordless authentication to skip its own flow in favor of delegated authentication providers that may be available and defined in CAS.If delegated authentication is activated, CAS will skip its normal passwordless authentication flow in favor of the requested delegated authentication provider. If no delegated providers are available, passwordless authentication flow will commence as usual.
-
getDelegatedAuthenticationSelectorScript
Select the delegated identity provider for the passwordless user using a script. -
setEnabled
Flag to indicate if paswordless authentication is enabled.- Returns:
this
.
-
setMultifactorAuthenticationActivated
public PasswordlessAuthenticationCoreProperties setMultifactorAuthenticationActivated(boolean multifactorAuthenticationActivated) Allow passwordless authentication to skip its own flow in favor of multifactor authentication providers that may be available and defined in CAS.If multifactor authentication is activated, and defined MFA triggers in CAS signal availability and eligibility of an MFA flow for the given passwordless user, CAS will skip its normal passwordless authentication flow in favor of the requested multifactor authentication provider. If no MFA providers are available, or if no triggers require MFA for the verified passwordless user, passwordless authentication flow will commence as usual.
- Returns:
this
.
-
setDelegatedAuthenticationActivated
public PasswordlessAuthenticationCoreProperties setDelegatedAuthenticationActivated(boolean delegatedAuthenticationActivated) Allow passwordless authentication to skip its own flow in favor of delegated authentication providers that may be available and defined in CAS.If delegated authentication is activated, CAS will skip its normal passwordless authentication flow in favor of the requested delegated authentication provider. If no delegated providers are available, passwordless authentication flow will commence as usual.
- Returns:
this
.
-
setDelegatedAuthenticationSelectorScript
public PasswordlessAuthenticationCoreProperties setDelegatedAuthenticationSelectorScript(SpringResourceProperties delegatedAuthenticationSelectorScript) Select the delegated identity provider for the passwordless user using a script.- Returns:
this
.
-