Class ACMTimeToLive.MasterSessionTTL

    • Constructor Detail

      • MasterSessionTTL

        public MasterSessionTTL​(java.util.Calendar iNow,
                                int iIdleTimeout,
                                int iMasterIdleTimeout,
                                int JWTlifetime)
    • Method Detail

      • getMasterIdleTimeout

        public int getMasterIdleTimeout()
      • getMasterAbsoluteTimeout

        public long getMasterAbsoluteTimeout()
        return the master session ID absolute timeout in second since 1970 initial time extended with a valid auth.rememberme.timeout
        if -1 return, it means that master session ID will be governed by mTtl, no IServer session re-establishment
        Returns:
      • getMasterCreationTime

        public long getMasterCreationTime()
        return the master session ID creation time in second since 1970 initial time
        Returns:
      • isExpired

        public boolean isExpired​(java.util.Calendar iNow)
        isExpired checks if a master session Id is expired.
        if remember me feature is turned on, master session Id expiration is controlled by the auth.rememberme.timeout value.
        if remember me feature is turned off, master session Id expiration is controlled by the time to live value.
        Overrides:
        isExpired in class ACMTimeToLive
        Parameters:
        iNow -
        Returns:
        true or false