Search in sources :

Example 1 with RiskAwareAuthenticationWebflowEventResolver

use of org.apereo.cas.web.flow.RiskAwareAuthenticationWebflowEventResolver in project cas by apereo.

the class ElectronicFenceWebflowConfiguration method riskAwareAuthenticationWebflowEventResolver.

@ConditionalOnMissingBean(name = "riskAwareAuthenticationWebflowEventResolver")
@Bean
@Autowired
@RefreshScope
public CasWebflowEventResolver riskAwareAuthenticationWebflowEventResolver(@Qualifier("defaultAuthenticationSystemSupport") final AuthenticationSystemSupport authenticationSystemSupport) {
    final CasWebflowEventResolver r = new RiskAwareAuthenticationWebflowEventResolver(authenticationSystemSupport, centralAuthenticationService, servicesManager, ticketRegistrySupport, warnCookieGenerator, authenticationRequestServiceSelectionStrategies, multifactorAuthenticationProviderSelector, authenticationRiskEvaluator, authenticationRiskMitigator, casProperties);
    this.initialAuthenticationAttemptWebflowEventResolver.addDelegate(r, 0);
    return r;
}
Also used : CasWebflowEventResolver(org.apereo.cas.web.flow.resolver.CasWebflowEventResolver) RiskAwareAuthenticationWebflowEventResolver(org.apereo.cas.web.flow.RiskAwareAuthenticationWebflowEventResolver) RefreshScope(org.springframework.cloud.context.config.annotation.RefreshScope) Autowired(org.springframework.beans.factory.annotation.Autowired) ConditionalOnMissingBean(org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean) ConditionalOnMissingBean(org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean) Bean(org.springframework.context.annotation.Bean)

Aggregations

RiskAwareAuthenticationWebflowEventResolver (org.apereo.cas.web.flow.RiskAwareAuthenticationWebflowEventResolver)1 CasWebflowEventResolver (org.apereo.cas.web.flow.resolver.CasWebflowEventResolver)1 Autowired (org.springframework.beans.factory.annotation.Autowired)1 ConditionalOnMissingBean (org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean)1 RefreshScope (org.springframework.cloud.context.config.annotation.RefreshScope)1 Bean (org.springframework.context.annotation.Bean)1