The SessionValidationScheduler interface is mainly used to define the effective operation of the session, which is first parsed as follows:
1. Returns whether the task is available (if the task is available, it returns true; if the task is unavailable, it returns false)
boolean isEnabled();
2. Make the session valid
void enableSessionValidation();
3. Invalidate the session
void disableSessionValidation();