From ff75e92712d55bfb8debbb796f3bc7985dfac569 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Fri, 4 May 2018 21:38:47 +0300 Subject: spring security: we are not using Servlet API integration --- .../src/main/java/com/juick/server/configuration/ApiSecurityConfig.java | 1 - 1 file changed, 1 deletion(-) (limited to 'juick-api/src/main') diff --git a/juick-api/src/main/java/com/juick/server/configuration/ApiSecurityConfig.java b/juick-api/src/main/java/com/juick/server/configuration/ApiSecurityConfig.java index 8ea79498..94c1f1a8 100644 --- a/juick-api/src/main/java/com/juick/server/configuration/ApiSecurityConfig.java +++ b/juick-api/src/main/java/com/juick/server/configuration/ApiSecurityConfig.java @@ -68,7 +68,6 @@ public class ApiSecurityConfig extends WebSecurityConfigurerAdapter { .and().httpBasic().authenticationEntryPoint(juickAuthenticationEntryPoint()) .and().anonymous() .and().cors().configurationSource(corsConfigurationSource()) - .and().servletApi() .and().sessionManagement().sessionCreationPolicy(SessionCreationPolicy.STATELESS) .and().exceptionHandling().authenticationEntryPoint(juickAuthenticationEntryPoint()) .and() -- cgit v1.2.3