Class SignerMethodResolver


  • public final class SignerMethodResolver
    extends Object
    • Method Detail

      • 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)