Class LfsConnectionFactory.AuthCache

  • Enclosing class:
    LfsConnectionFactory

    private static final class LfsConnectionFactory.AuthCache
    extends java.lang.Object
    • Field Detail

      • AUTH_CACHE_EAGER_TIMEOUT

        private static final long AUTH_CACHE_EAGER_TIMEOUT
        See Also:
        Constant Field Values
      • ISO_FORMAT

        private static final java.text.SimpleDateFormat ISO_FORMAT
      • validUntil

        long validUntil
    • Constructor Detail

      • AuthCache

        public AuthCache​(Protocol.ExpiringAction action)
        Creates a cache entry for an authentication response.

        The timeout of the cache token is extracted from the given action. If no timeout can be determined, the token will be used only once.

        Parameters:
        action -