Skip to content

Commit

Permalink
UNDERTOW-269 SSO not destroyed when the last associated session times…
Browse files Browse the repository at this point in the history
… out
  • Loading branch information
pferraro authored and stuartwdouglas committed Jun 26, 2014
1 parent a899ef6 commit 4f6f18c
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -169,7 +169,11 @@ public void sessionDestroyed(Session session, HttpServerExchange exchange, Sessi
if (reason == SessionDestroyedReason.INVALIDATED) {
for (Session associatedSession : sso) {
associatedSession.invalidate(null);
sso.remove(associatedSession);
}
}
// If there are no more associated sessions, remove the SSO altogether
if (!sso.iterator().hasNext()) {
manager.removeSingleSignOn(ssoId);
}
} finally {
Expand Down

0 comments on commit 4f6f18c

Please sign in to comment.