public void setScheduler(Scheduler scheduler) {
        this.scheduler = scheduler;
    }
Constructor that specifies the session manager that should be used for validating sessions.

@param sessionManager the <tt>SessionManager</tt> that should be used to validate sessions.
support/quartz/src/main/java/org/apache/shiro/session/mgt/quartz/QuartzSessionValidationScheduler.java