Search in sources :

Example 1 with SurrogateWebflowEventResolver

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

the class SurrogateWebflowEventResolutionConfiguration method surrogateWebflowEventResolver.

@ConditionalOnMissingBean(name = "surrogateWebflowEventResolver")
@Bean
public CasWebflowEventResolver surrogateWebflowEventResolver(@Qualifier("defaultAuthenticationSystemSupport") final AuthenticationSystemSupport authenticationSystemSupport) {
    final CasWebflowEventResolver r = new SurrogateWebflowEventResolver(authenticationSystemSupport, centralAuthenticationService, servicesManager, ticketRegistrySupport, warnCookieGenerator, authenticationRequestServiceSelectionStrategies, selector, surrogateAuthenticationService);
    this.initialAuthenticationAttemptWebflowEventResolver.addDelegate(r);
    return r;
}
Also used : CasWebflowEventResolver(org.apereo.cas.web.flow.resolver.CasWebflowEventResolver) SurrogateWebflowEventResolver(org.apereo.cas.web.flow.SurrogateWebflowEventResolver) ConditionalOnMissingBean(org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean) ConditionalOnMissingBean(org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean) Bean(org.springframework.context.annotation.Bean)

Aggregations

SurrogateWebflowEventResolver (org.apereo.cas.web.flow.SurrogateWebflowEventResolver)1 CasWebflowEventResolver (org.apereo.cas.web.flow.resolver.CasWebflowEventResolver)1 ConditionalOnMissingBean (org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean)1 Bean (org.springframework.context.annotation.Bean)1