use of com.evolveum.midpoint.authentication.impl.filter.configurers.AuthFilterConfigurer in project midpoint by Evolveum.
the class MidpointWebSecurityConfigurerAdapter method configure.
@Override
protected void configure(HttpSecurity http) throws Exception {
http.setSharedObject(AuthenticationTrustResolverImpl.class, new MidpointAuthenticationTrustResolverImpl());
http.addFilter(new WebAsyncManagerIntegrationFilter()).sessionManagement().and().securityContext();
http.apply(new AuthFilterConfigurer());
createSessionContextRepository(http);
http.sessionManagement().maximumSessions(-1).sessionRegistry(sessionRegistry).maxSessionsPreventsLogin(true);
}
Aggregations