You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 6, 2019. It is now read-only.
我新加了一个 LoginFilter,两种方法加入:
1,在 web.xml 中写入
2,在源文件中通过 annotation 标注:
发现 LoginFilter 的初始化都在 RequestUserAuthFilter 初始化之前,并且 filterChain 的处理上,LoginFilter 也在 RequestUserAuthFilter 之前。
这样导致不能根据 currentUser 的有无来判断用户是否登录。