We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
public void onAuthenticationSuccess(HttpServletRequest request, HttpServletResponse response, Authentication authentication) throws ServletException, IOException { SavedRequest savedRequest = requestCache.getRequest(request, response);
if (savedRequest == null) { super.onAuthenticationSuccess(request, response, authentication); return; }
...}
为什么savedRequest会为空
The text was updated successfully, but these errors were encountered:
public SavedRequest getRequest(HttpServletRequest currentRequest, HttpServletResponse response) { HttpSession session = currentRequest.getSession(false);
if (session != null) { return (SavedRequest) session.getAttribute(this.sessionAttrName); } return null; }
发现是session为空导致的
Sorry, something went wrong.
想不明白为什么session这里为什么会为null
No branches or pull requests
public void onAuthenticationSuccess(HttpServletRequest request,
HttpServletResponse response, Authentication authentication)
throws ServletException, IOException {
SavedRequest savedRequest = requestCache.getRequest(request, response);
...}
为什么savedRequest会为空
The text was updated successfully, but these errors were encountered: