Logging out of JBoss SSO without a session

Solution Verified - Updated -


  • We use JBoss SSO. We typically log out by calling session.invalidate(). But it is possible for a user to try to logout after the session expired. In this case, they can still be authenticated in SSO because the maxEmptyLife hasn't passed, but then there is no session present to invalidate and prompt the log out. How can we log out if there is no session?


  • JBoss Enterprise Application Platform (EAP) 6.3.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In