Search in sources :

Example 1 with SpnegoNegociateCredentialsAction

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

the class SpnegoWebflowActionsConfiguration method negociateSpnego.

@Bean
@RefreshScope
public Action negociateSpnego() {
    final SpnegoProperties spnegoProperties = casProperties.getAuthn().getSpnego();
    final List<String> supportedBrowsers = Stream.of(spnegoProperties.getSupportedBrowsers().split(",")).collect(Collectors.toList());
    return new SpnegoNegociateCredentialsAction(supportedBrowsers, spnegoProperties.isNtlm(), spnegoProperties.isMixedModeAuthentication());
}
Also used : SpnegoProperties(org.apereo.cas.configuration.model.support.spnego.SpnegoProperties) SpnegoNegociateCredentialsAction(org.apereo.cas.web.flow.SpnegoNegociateCredentialsAction) RefreshScope(org.springframework.cloud.context.config.annotation.RefreshScope) Bean(org.springframework.context.annotation.Bean)

Aggregations

SpnegoProperties (org.apereo.cas.configuration.model.support.spnego.SpnegoProperties)1 SpnegoNegociateCredentialsAction (org.apereo.cas.web.flow.SpnegoNegociateCredentialsAction)1 RefreshScope (org.springframework.cloud.context.config.annotation.RefreshScope)1 Bean (org.springframework.context.annotation.Bean)1