|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ValidatingSessionManager
A ValidatingSessionManager is a SessionManager that can proactively validate any or all sessions that may be expired.
| Method Summary | |
|---|---|
void |
validateSessions()
Performs session validation for all open/active sessions in the system (those that have not been stopped or expired), and validates each one. |
| Methods inherited from interface org.apache.shiro.session.mgt.SessionManager |
|---|
getSession, start |
| Method Detail |
|---|
void validateSessions()
getSession(SessionKey) method on any
ValidatingSessionManager instance as that method is expected to
validate the session before retrieving it. Note that even with proactive calls to getSession,
this validateSessions() method should be invoked regularly anyway to guarantee no
orphans exist.
Note: Shiro supports automatic execution of this method at a regular interval
by using SessionValidationSchedulers. The Shiro default SecurityManager implementations
needing session validation will create and use one by default if one is not provided by the
application configuration.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||