Class TimeBasedRegisteredServiceAccessStrategy

    • Constructor Detail

      • TimeBasedRegisteredServiceAccessStrategy

        public TimeBasedRegisteredServiceAccessStrategy​(boolean enabled,
                                                        boolean ssoEnabled)
        Initiates the time-based access strategy.
        Parameters:
        enabled - is service access allowed?
        ssoEnabled - is service allowed to take part in SSO?
    • Method Detail

      • doesEndingTimeAllowServiceAccess

        protected boolean doesEndingTimeAllowServiceAccess()
        Does ending time allow service access boolean.
        Returns:
        true/false
      • doesStartingTimeAllowServiceAccess

        protected boolean doesStartingTimeAllowServiceAccess()
        Does starting time allow service access boolean.
        Returns:
        true/false