use of org.apereo.cas.authentication.bypass.CredentialMultifactorAuthenticationProviderBypassEvaluator in project cas by apereo.
the class InweboAuthenticationMultifactorProviderBypassConfiguration method inweboCredentialMultifactorAuthenticationProviderBypass.
@Bean
@RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
@ConditionalOnMissingBean(name = "inweboCredentialMultifactorAuthenticationProviderBypass")
public MultifactorAuthenticationProviderBypassEvaluator inweboCredentialMultifactorAuthenticationProviderBypass(final CasConfigurationProperties casProperties) {
val inwebo = casProperties.getAuthn().getMfa().getInwebo();
val props = inwebo.getBypass();
return new CredentialMultifactorAuthenticationProviderBypassEvaluator(props, inwebo.getId());
}
use of org.apereo.cas.authentication.bypass.CredentialMultifactorAuthenticationProviderBypassEvaluator in project cas by apereo.
the class AuthyAuthenticationMultifactorProviderBypassConfiguration method authyCredentialMultifactorAuthenticationProviderBypass.
@Bean
@RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
@ConditionalOnMissingBean(name = "authyCredentialMultifactorAuthenticationProviderBypass")
public MultifactorAuthenticationProviderBypassEvaluator authyCredentialMultifactorAuthenticationProviderBypass(final CasConfigurationProperties casProperties) {
val authy = casProperties.getAuthn().getMfa().getAuthy();
val props = authy.getBypass();
return new CredentialMultifactorAuthenticationProviderBypassEvaluator(props, authy.getId());
}
use of org.apereo.cas.authentication.bypass.CredentialMultifactorAuthenticationProviderBypassEvaluator in project cas by apereo.
the class AccepttoMultifactorAuthenticationMultifactorProviderBypassConfiguration method casAccepttoMultifactorCredentialMultifactorAuthenticationProviderBypass.
@Bean
@RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
@ConditionalOnMissingBean(name = "casAccepttoMultifactorCredentialMultifactorAuthenticationProviderBypass")
public MultifactorAuthenticationProviderBypassEvaluator casAccepttoMultifactorCredentialMultifactorAuthenticationProviderBypass(final CasConfigurationProperties casProperties) {
val simple = casProperties.getAuthn().getMfa().getAcceptto();
val props = simple.getBypass();
return new CredentialMultifactorAuthenticationProviderBypassEvaluator(props, simple.getId());
}
use of org.apereo.cas.authentication.bypass.CredentialMultifactorAuthenticationProviderBypassEvaluator in project cas by apereo.
the class GoogleAuthenticatorAuthenticationMultifactorProviderBypassConfiguration method googleAuthenticatorCredentialMultifactorAuthenticationProviderBypass.
@Bean
@RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
@ConditionalOnMissingBean(name = "googleAuthenticatorCredentialMultifactorAuthenticationProviderBypass")
public MultifactorAuthenticationProviderBypassEvaluator googleAuthenticatorCredentialMultifactorAuthenticationProviderBypass(final CasConfigurationProperties casProperties) {
val gauth = casProperties.getAuthn().getMfa().getGauth();
val props = gauth.getBypass();
return new CredentialMultifactorAuthenticationProviderBypassEvaluator(props, gauth.getId());
}
use of org.apereo.cas.authentication.bypass.CredentialMultifactorAuthenticationProviderBypassEvaluator in project cas by apereo.
the class RadiusTokenAuthenticationMultifactorProviderBypassConfiguration method radiusCredentialMultifactorAuthenticationProviderBypass.
@Bean
@RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
@ConditionalOnMissingBean(name = "radiusCredentialMultifactorAuthenticationProviderBypass")
public MultifactorAuthenticationProviderBypassEvaluator radiusCredentialMultifactorAuthenticationProviderBypass(final CasConfigurationProperties casProperties) {
val radius = casProperties.getAuthn().getMfa().getRadius();
val props = radius.getBypass();
return new CredentialMultifactorAuthenticationProviderBypassEvaluator(props, radius.getId());
}
Aggregations