Top Description Methods
com.oracle.bmc.auth

public @Interface AuthCachingPolicy

extends Annotation
Annotations
@Target:TYPE
@Retention:RUNTIME
Imports
java.lang.annotation.ElementType, .Retention, .RetentionPolicy, .Target

AuthCachingPolicy provides the ability to annotation basic auth providers with what level of caching a request signer should try to follow.

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

true to enable caching, false if the keyId should be retrieved for every request.
cacheKeyId
()

Param to set whether or not keyIds can be cached.

public boolean

Returns:

true to enable caching, false if the private key should be retrieved for every request.
cachePrivateKey
()

Param to set whether or not private can be cached.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

cacheKeyIdback to summary
public boolean cacheKeyId()

Param to set whether or not keyIds can be cached.

Returns:boolean

true to enable caching, false if the keyId should be retrieved for every request.

cachePrivateKeyback to summary
public boolean cachePrivateKey()

Param to set whether or not private can be cached.

Returns:boolean

true to enable caching, false if the private key should be retrieved for every request.