Skip to content

Commit

Permalink
[FIXED SECURITY-75] Invalidate session after login to avoid session f…
Browse files Browse the repository at this point in the history
…ixation
  • Loading branch information
vjuranek authored and jglick committed Feb 11, 2014
1 parent 5d57c85 commit 8ac74c3
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -85,6 +85,7 @@ protected void onSuccessfulAuthentication(HttpServletRequest request, HttpServle
// HttpSessionContextIntegrationFilter stores the updated SecurityContext object into this session later
// (either when a redirect is issued, via its HttpResponseWrapper, or when the execution returns to its
// doFilter method.
request.getSession().invalidate();
request.getSession();
}

Expand Down

0 comments on commit 8ac74c3

Please sign in to comment.