我试图让用户在注销时停留在登录页面,但是用户正在重定向回安全网址,因为我记得我过滤了我的登录网址。
我希望用户在退出后留在登录页面。
<http pattern="/menu/logOff" entry-point-ref="customEntryPoint">
<custom-filter ref="logOutFilter" position="LOGOUT_FILTER" />
</http>
<http pattern="/menu/login" entry-point-ref="customEntryPoint">
<custom-filter position="REMEMBER_ME_FILTER" ref="rememberMeFilter" />
</http>
但是当我点击注销时,它会进入登录页面并进入安全页面,因为我记得过滤到登录页面。用户注销时有什么方法可以保持登录状态吗?