Annotation Type AuthCachingPolicy


  • @Target(TYPE)
    @Retention(RUNTIME)
    public @interface AuthCachingPolicy
    AuthCachingPolicy provides the ability to annotation basic auth providers with what level of caching a request signer should try to follow.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      boolean cacheKeyId
      Param to set whether or not keyIds can be cached.
      boolean cachePrivateKey
      Param to set whether or not private can be cached.
    • Element Detail

      • cacheKeyId

        boolean cacheKeyId
        Param to set whether or not keyIds can be cached.
        Returns:
        true to enable caching, false if the keyId should be retrieved for every request.
      • cachePrivateKey

        boolean cachePrivateKey
        Param to set whether or not private can be cached.
        Returns:
        true to enable caching, false if the private key should be retrieved for every request.