Class SignerMethodResolver
java.lang.Object
software.amazon.awssdk.auth.signer.internal.util.SignerMethodResolver
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isAnonymous
(AwsCredentials credentials) static SigningMethod
resolveSigningMethodUsed
(Signer signer, ExecutionAttributes executionAttributes, AwsCredentials credentials) The signing method can be Header-Auth, streaming-signing auth or Unsigned-payload.
-
Field Details
-
S3_SIGV4A_SIGNER_CLASS_PATH
- See Also:
-
-
Method Details
-
resolveSigningMethodUsed
public static SigningMethod resolveSigningMethodUsed(Signer signer, ExecutionAttributes executionAttributes, AwsCredentials credentials) The signing method can be Header-Auth, streaming-signing auth or Unsigned-payload. For Aws4UnsignedPayloadSigner and ENABLE_PAYLOAD_SIGNING the protocol of request decides whether the request will be Unsigned or Signed.- Parameters:
signer
- Signer Used.executionAttributes
- Execution attributes.credentials
- Credentials configured for client.- Returns:
- SigningMethodUsed Enum based on various attributes.
-
isAnonymous
-