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;
}
Aggregations