aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-05-04 21:38:47 +0300
committerGravatar Vitaly Takmazov2018-05-04 21:38:47 +0300
commitff75e92712d55bfb8debbb796f3bc7985dfac569 (patch)
tree4e6bac9c78155195d45399d602b3171a0031e35a
parent77fb0fe57a77c27efacc09b966fb3c215ab9c15c (diff)
spring security: we are not using Servlet API integration
-rw-r--r--juick-api/src/main/java/com/juick/server/configuration/ApiSecurityConfig.java1
1 files changed, 0 insertions, 1 deletions
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()