Interface ValidatingSession
- All Superinterfaces:
Session
- All Known Implementing Classes:
SimpleSession
A
ValidatingSession is a Session that is capable of determining it is valid or not and
is able to validate itself if necessary.
Validation is usually an exercise of determining when the session was last accessed or modified and determining if
that time is longer than a specified allowed duration.- Since:
- 0.9
-
Method Summary
Methods inherited from interface org.apache.shiro.session.Session
getAttribute, getAttributeKeys, getHost, getId, getLastAccessTime, getStartTimestamp, getTimeout, removeAttribute, setAttribute, setTimeout, stop, touch
-
Method Details
-
isValid
boolean isValid() -
validate
- Throws:
InvalidSessionException
-