Return existing user if session is already authenticated

This commit is contained in:
Joe Schweitzer 2016-03-17 12:03:11 -04:00
parent b20d4d241c
commit 8e1a7789b1
1 changed files with 1 additions and 0 deletions

View File

@ -52,6 +52,7 @@ public final class Jira44CasAuthenticator extends JiraSeraphAuthenticator {
Principal existingUser = getUserFromSession(request);
if (existingUser != null) {
LOGGER.debug("Session found; user already logged in.");
return existingUser;
}
final HttpSession session = request.getSession();