shiro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From security ml <>
Subject org.apache.shiro.session.ExpiredSessionException
Date Thu, 09 Jun 2011 14:22:50 GMT

   First, thank you for your quick responses.  That is invaluable!

   I have looked for a way to check for an expired session, but did not find
one.  Is the expected usage to wait for and catch
an ExpiredSessionException?

   How do you feel about being able to check the Session interface to see if
is expired?

Session session = SecurityUtils.getSubject().getSession();
boolean expired = session.isExpired();

Thank you, Michael

View raw message