SessionValidationScheduler

Interface that should be implemented by classes that can control validating sessions on a regular basis. This interface is used as a delegate for session validation by the {@link hunt.shiro.session.mgt.DefaultSessionManager}

@see hunt.shiro.session.mgt.DefaultSessionManager#setSessionValidationScheduler(SessionValidationScheduler)

Members

Functions

disableSessionValidation
void disableSessionValidation()

Disables the session validation job.

enableSessionValidation
void enableSessionValidation()

Enables the session validation job.

isEnabled
bool isEnabled()

Returns <code>true</code> if this Scheduler is enabled and ready to begin validation at the appropriate time, <code>false</code> otherwise. <p/> It does <em>not</em> indicate if the validation is actually executing at that instant - only that it is prepared to do so at the appropriate time.

Meta