Class SignerMethodResolver

java.lang.Object
software.amazon.awssdk.auth.signer.internal.util.SignerMethodResolver

public final class SignerMethodResolver extends Object
  • Field Details

  • 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

      public static boolean isAnonymous(AwsCredentials credentials)