public void execute(JobExecutionContext context) throws JobExecutionException {

        JobDataMap jobDataMap = context.getMergedJobDataMap();
        ValidatingSessionManager sessionManager = (ValidatingSessionManager) jobDataMap.get(SESSION_MANAGER_KEY);

        if (LOGGER.isDebugEnabled()) {
            LOGGER.debug("Executing session validation Quartz job...");
        }

        sessionManager.validateSessions();

        if (LOGGER.isDebugEnabled()) {
            LOGGER.debug("Session validation Quartz job complete.");
        }
    }
Called when the job is executed by quartz.  This method delegates to the
<tt>validateSessions()</tt> method on the associated session manager.

@param context the Quartz job execution context for this execution.
support/quartz/src/main/java/org/apache/shiro/session/mgt/quartz/QuartzSessionValidationJob.java