use of org.apereo.cas.authentication.bypass.GroovyMultifactorAuthenticationProviderBypassEvaluator in project cas by apereo.
the class SwivelAuthenticationMultifactorProviderBypassConfiguration method swivelGroovyMultifactorAuthenticationProviderBypass.
@ConditionalOnMissingBean(name = "swivelGroovyMultifactorAuthenticationProviderBypass")
@Bean
@RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
public MultifactorAuthenticationProviderBypassEvaluator swivelGroovyMultifactorAuthenticationProviderBypass(final CasConfigurationProperties casProperties) {
val swivel = casProperties.getAuthn().getMfa().getSwivel();
val props = swivel.getBypass();
return new GroovyMultifactorAuthenticationProviderBypassEvaluator(props, swivel.getId());
}
use of org.apereo.cas.authentication.bypass.GroovyMultifactorAuthenticationProviderBypassEvaluator in project cas by apereo.
the class GoogleAuthenticatorAuthenticationMultifactorProviderBypassConfiguration method googleAuthenticatorGroovyMultifactorAuthenticationProviderBypass.
@ConditionalOnMissingBean(name = "googleAuthenticatorGroovyMultifactorAuthenticationProviderBypass")
@Bean
@RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
public MultifactorAuthenticationProviderBypassEvaluator googleAuthenticatorGroovyMultifactorAuthenticationProviderBypass(final CasConfigurationProperties casProperties) {
val gauth = casProperties.getAuthn().getMfa().getGauth();
val props = gauth.getBypass();
return new GroovyMultifactorAuthenticationProviderBypassEvaluator(props, gauth.getId());
}
use of org.apereo.cas.authentication.bypass.GroovyMultifactorAuthenticationProviderBypassEvaluator in project cas by apereo.
the class U2FAuthenticationMultifactorProviderBypassConfiguration method u2fGroovyMultifactorAuthenticationProviderBypass.
@ConditionalOnMissingBean(name = "u2fGroovyMultifactorAuthenticationProviderBypass")
@Bean
@RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
public MultifactorAuthenticationProviderBypassEvaluator u2fGroovyMultifactorAuthenticationProviderBypass(final CasConfigurationProperties casProperties) {
val u2f = casProperties.getAuthn().getMfa().getU2f();
val props = u2f.getBypass();
return new GroovyMultifactorAuthenticationProviderBypassEvaluator(props, u2f.getId());
}
use of org.apereo.cas.authentication.bypass.GroovyMultifactorAuthenticationProviderBypassEvaluator in project cas by apereo.
the class YubiKeyAuthenticationMultifactorProviderBypassConfiguration method yubikeyGroovyMultifactorAuthenticationProviderBypass.
@ConditionalOnMissingBean(name = "yubikeyGroovyMultifactorAuthenticationProviderBypass")
@Bean
@RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
public MultifactorAuthenticationProviderBypassEvaluator yubikeyGroovyMultifactorAuthenticationProviderBypass(final CasConfigurationProperties casProperties) {
val yubikey = casProperties.getAuthn().getMfa().getYubikey();
val props = yubikey.getBypass();
return new GroovyMultifactorAuthenticationProviderBypassEvaluator(props, yubikey.getId());
}
use of org.apereo.cas.authentication.bypass.GroovyMultifactorAuthenticationProviderBypassEvaluator in project cas by apereo.
the class RadiusTokenAuthenticationMultifactorProviderBypassConfiguration method radiusGroovyMultifactorAuthenticationProviderBypass.
@ConditionalOnMissingBean(name = "radiusGroovyMultifactorAuthenticationProviderBypass")
@Bean
@RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
public MultifactorAuthenticationProviderBypassEvaluator radiusGroovyMultifactorAuthenticationProviderBypass(final CasConfigurationProperties casProperties) {
val radius = casProperties.getAuthn().getMfa().getRadius();
val props = radius.getBypass();
return new GroovyMultifactorAuthenticationProviderBypassEvaluator(props, radius.getId());
}
Aggregations