Search in sources :

Example 1 with InitialAuthenticationAttemptWebflowEventResolver

use of org.apereo.cas.web.flow.resolver.impl.InitialAuthenticationAttemptWebflowEventResolver in project cas by apereo.

the class CasCoreWebflowConfiguration method initialAuthenticationAttemptWebflowEventResolver.

@ConditionalOnMissingBean(name = "initialAuthenticationAttemptWebflowEventResolver")
@Bean
@RefreshScope
public CasDelegatingWebflowEventResolver initialAuthenticationAttemptWebflowEventResolver() {
    final InitialAuthenticationAttemptWebflowEventResolver r = new InitialAuthenticationAttemptWebflowEventResolver(authenticationSystemSupport, centralAuthenticationService, servicesManager, ticketRegistrySupport, warnCookieGenerator, authenticationRequestServiceSelectionStrategies, selector);
    r.addDelegate(adaptiveAuthenticationPolicyWebflowEventResolver());
    r.addDelegate(globalAuthenticationPolicyWebflowEventResolver());
    r.addDelegate(requestParameterAuthenticationPolicyWebflowEventResolver());
    r.addDelegate(restEndpointAuthenticationPolicyWebflowEventResolver());
    r.addDelegate(registeredServicePrincipalAttributeAuthenticationPolicyWebflowEventResolver());
    r.addDelegate(principalAttributeAuthenticationPolicyWebflowEventResolver());
    r.addDelegate(authenticationAttributeAuthenticationPolicyWebflowEventResolver());
    r.addDelegate(registeredServiceAuthenticationPolicyWebflowEventResolver());
    r.setSelectiveResolver(selectiveAuthenticationProviderWebflowEventResolver());
    return r;
}
Also used : InitialAuthenticationAttemptWebflowEventResolver(org.apereo.cas.web.flow.resolver.impl.InitialAuthenticationAttemptWebflowEventResolver) RefreshScope(org.springframework.cloud.context.config.annotation.RefreshScope) ConditionalOnMissingBean(org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean) ConditionalOnMissingBean(org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean) Bean(org.springframework.context.annotation.Bean)

Aggregations

InitialAuthenticationAttemptWebflowEventResolver (org.apereo.cas.web.flow.resolver.impl.InitialAuthenticationAttemptWebflowEventResolver)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