use of org.apereo.cas.web.support.AuthenticationCredentialsLocalBinderClearingFilter in project cas by apereo.
the class CasFiltersConfiguration method currentCredentialsAndAuthenticationClearingFilter.
@Bean
public FilterRegistrationBean currentCredentialsAndAuthenticationClearingFilter() {
final FilterRegistrationBean bean = new FilterRegistrationBean();
bean.setFilter(new AuthenticationCredentialsLocalBinderClearingFilter());
bean.setUrlPatterns(Collections.singleton("/*"));
bean.setName("currentCredentialsAndAuthenticationClearingFilter");
bean.setAsyncSupported(true);
return bean;
}
Aggregations