Return existing user if session is already authenticated
This commit is contained in:
parent
b20d4d241c
commit
8e1a7789b1
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue