diff options
author | Vitaly Takmazov | 2018-05-04 21:38:47 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-05-04 21:38:47 +0300 |
commit | ff75e92712d55bfb8debbb796f3bc7985dfac569 (patch) | |
tree | 4e6bac9c78155195d45399d602b3171a0031e35a /juick-api/src/main/java | |
parent | 77fb0fe57a77c27efacc09b966fb3c215ab9c15c (diff) |
spring security: we are not using Servlet API integration
Diffstat (limited to 'juick-api/src/main/java')
-rw-r--r-- | juick-api/src/main/java/com/juick/server/configuration/ApiSecurityConfig.java | 1 |
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() |