@Override
    public boolean isServiceAccessAllowed(final RegisteredService registeredService, final Service service) {
        return doesStartingTimeAllowServiceAccess() && doesEndingTimeAllowServiceAccess();
    }
The {@link TimeBasedRegisteredServiceAccessStrategy} is responsible for
enforcing CAS authorization strategy based on a configured start/end time.

@author Misagh Moayyed
@since 4.2
core/cas-server-core-services-api/src/main/java/org/apereo/cas/services/TimeBasedRegisteredServiceAccessStrategy.java