use of com.thinkbiganalytics.auth.jaas.http.JaasHttpCallbackHandlerFilter in project kylo by Teradata.
the class DefaultWebSecurityConfigurer method configure.
@Override
@SuppressWarnings("unchecked")
protected void configure(HttpSecurity http) throws Exception {
// @formatter:off
http.removeConfigurer(LogoutConfigurer.class);
http.authenticationProvider(this.authenticationProvider).csrf().disable().sessionManagement().sessionCreationPolicy(SessionCreationPolicy.STATELESS).and().authorizeRequests().antMatchers("/**").authenticated().and().rememberMe().rememberMeServices(rememberMeServices).and().httpBasic().and().addFilterBefore(new JaasHttpCallbackHandlerFilter(), BasicAuthenticationFilter.class).addFilterBefore(new RememberMeAuthenticationFilter(auth -> auth, rememberMeServices), BasicAuthenticationFilter.class).addFilterAfter(logoutFilter(), BasicAuthenticationFilter.class);
// @formatter:on
}
Aggregations