spring security redirects to last requested page after login session timeout

前端 未结 2 1652
盖世英雄少女心
盖世英雄少女心 2021-02-09 18:05

I have implemented spring security for login to my web portal. It works fine except for one issue. I have set session timeout to 5 min. Once timeout happpens and then user click

2条回答
  •  醉酒成梦
    2021-02-09 18:23

    In Grails, this setting solves the problem in Config.groovy

    grails.plugin.springsecurity.successHandler.alwaysUseDefault = true
    

提交回复
热议问题