use of org.apereo.cas.authentication.bypass.HttpRequestMultifactorAuthenticationProviderBypassEvaluator in project cas by apereo.
the class GoogleAuthenticatorAuthenticationMultifactorProviderBypassConfiguration method googleAuthenticatorHttpRequestMultifactorAuthenticationProviderBypass.
@ConditionalOnMissingBean(name = "googleAuthenticatorHttpRequestMultifactorAuthenticationProviderBypass")
@Bean
@RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
public MultifactorAuthenticationProviderBypassEvaluator googleAuthenticatorHttpRequestMultifactorAuthenticationProviderBypass(final CasConfigurationProperties casProperties) {
val gauth = casProperties.getAuthn().getMfa().getGauth();
val props = gauth.getBypass();
return new HttpRequestMultifactorAuthenticationProviderBypassEvaluator(props, gauth.getId());
}
use of org.apereo.cas.authentication.bypass.HttpRequestMultifactorAuthenticationProviderBypassEvaluator in project cas by apereo.
the class InweboAuthenticationMultifactorProviderBypassConfiguration method inweboHttpRequestMultifactorAuthenticationProviderBypass.
@ConditionalOnMissingBean(name = "inweboHttpRequestMultifactorAuthenticationProviderBypass")
@Bean
@RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
public MultifactorAuthenticationProviderBypassEvaluator inweboHttpRequestMultifactorAuthenticationProviderBypass(final CasConfigurationProperties casProperties) {
val inwebo = casProperties.getAuthn().getMfa().getInwebo();
val props = inwebo.getBypass();
return new HttpRequestMultifactorAuthenticationProviderBypassEvaluator(props, inwebo.getId());
}
use of org.apereo.cas.authentication.bypass.HttpRequestMultifactorAuthenticationProviderBypassEvaluator in project cas by apereo.
the class WebAuthnMultifactorProviderBypassConfiguration method webAuthnHttpRequestMultifactorAuthenticationProviderBypass.
@ConditionalOnMissingBean(name = "webAuthnHttpRequestMultifactorAuthenticationProviderBypass")
@Bean
@RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
public MultifactorAuthenticationProviderBypassEvaluator webAuthnHttpRequestMultifactorAuthenticationProviderBypass(final CasConfigurationProperties casProperties) {
val webAuthn = casProperties.getAuthn().getMfa().getU2f();
val props = webAuthn.getBypass();
return new HttpRequestMultifactorAuthenticationProviderBypassEvaluator(props, webAuthn.getId());
}
use of org.apereo.cas.authentication.bypass.HttpRequestMultifactorAuthenticationProviderBypassEvaluator in project cas by apereo.
the class YubiKeyAuthenticationMultifactorProviderBypassConfiguration method yubikeyHttpRequestMultifactorAuthenticationProviderBypass.
@ConditionalOnMissingBean(name = "yubikeyHttpRequestMultifactorAuthenticationProviderBypass")
@Bean
@RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
public MultifactorAuthenticationProviderBypassEvaluator yubikeyHttpRequestMultifactorAuthenticationProviderBypass(final CasConfigurationProperties casProperties) {
val yubikey = casProperties.getAuthn().getMfa().getYubikey();
val props = yubikey.getBypass();
return new HttpRequestMultifactorAuthenticationProviderBypassEvaluator(props, yubikey.getId());
}
use of org.apereo.cas.authentication.bypass.HttpRequestMultifactorAuthenticationProviderBypassEvaluator in project cas by apereo.
the class SwivelAuthenticationMultifactorProviderBypassConfiguration method swivelHttpRequestMultifactorAuthenticationProviderBypass.
@ConditionalOnMissingBean(name = "swivelHttpRequestMultifactorAuthenticationProviderBypass")
@Bean
@RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
public MultifactorAuthenticationProviderBypassEvaluator swivelHttpRequestMultifactorAuthenticationProviderBypass(final CasConfigurationProperties casProperties) {
val swivel = casProperties.getAuthn().getMfa().getSwivel();
val props = swivel.getBypass();
return new HttpRequestMultifactorAuthenticationProviderBypassEvaluator(props, swivel.getId());
}
Aggregations