shiro-user mailing list archives

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

   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?
(org.apache.shiro.session.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

Mime
View raw message