Class SignerMethodResolver
- java.lang.Object
-
- software.amazon.awssdk.auth.signer.internal.util.SignerMethodResolver
-
public final class SignerMethodResolver extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
S3_SIGV4A_SIGNER_CLASS_PATH
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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 Detail
-
S3_SIGV4A_SIGNER_CLASS_PATH
public static final String S3_SIGV4A_SIGNER_CLASS_PATH
- See Also:
- Constant Field Values
-
-
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)
-
-