Annotation Type EnableOAuth2Client

    • Element Detail

      • cacheEnabled

        boolean cacheEnabled
        Enable caching for OAuth 2.0 access_token response in the OAuth2AccessTokenService
        Returns:
        default value false, true if enabled
        Default:
        false
      • cacheMaximumSize

        long cacheMaximumSize
        Set the maximum cache size
        Returns:
        the maximum entries in each cache instance
        Default:
        1000L
      • cacheEvictSkew

        long cacheEvictSkew
        Set skew time in seconds for cache eviction, i.e. the amount of time a cache entry should be evicted before the actual "expires_in" in OAuth2AccessTokenResponse
        Returns:
        the skew in seconds
        Default:
        10L