Springboot集成Securityredis进行分布式会话报错Yourservletcontainerdidnotchangethesess Springboot集成Securityredis进行分布式会话报错 Your servlet container did not change the session ID when a new session was created. You
Springboot集成Securityredis进行分布式会话报错
Your servlet container did not change the session ID when a new session was created. You will not be adequately protected against session-fixation attacks
解决办法
HttpSession htsession request.getSession();
htsession.invalidate();
HttpSession newsession request.getSession(true);
security.sessionManagement().sessionFixation().none();
亲测有效。
【本文由:武汉网站建设 http://www.1234xp.com/wuhan.html 网络转载请说明出处】