identityProvider(IdentityProviderConfiguration providers) {
- return providers.identityProvider(AwsCredentialsIdentity.class);
- }
-
- /**
- * Retrieve the {@link AwsV4QueryHttpSigner} associated with this authentication scheme.
- */
- @Override
- default AwsV4QueryHttpSigner signer() {
- return AwsV4QueryHttpSigner.create();
- }
-}
diff --git a/core/http-auth-aws/src/main/java/software/amazon/awssdk/http/auth/aws/AwsV4QueryHttpSigner.java b/core/http-auth-aws/src/main/java/software/amazon/awssdk/http/auth/aws/AwsV4QueryHttpSigner.java
deleted file mode 100644
index 6467ca1d0932..000000000000
--- a/core/http-auth-aws/src/main/java/software/amazon/awssdk/http/auth/aws/AwsV4QueryHttpSigner.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License").
- * You may not use this file except in compliance with the License.
- * A copy of the License is located at
- *
- * http://aws.amazon.com/apache2.0
- *
- * or in the "license" file accompanying this file. This file is distributed
- * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
- * express or implied. See the License for the specific language governing
- * permissions and limitations under the License.
- */
-
-package software.amazon.awssdk.http.auth.aws;
-
-import software.amazon.awssdk.annotations.SdkPublicApi;
-import software.amazon.awssdk.http.auth.spi.HttpSigner;
-import software.amazon.awssdk.identity.spi.AwsCredentialsIdentity;
-
-/**
- * An {@link HttpSigner} that will sign a request using an AWS credentials ({@link AwsCredentialsIdentity}), specifically for
- * query.
- *
- * The process for signing requests to AWS services is documented
- * here.
- *
- * TODO: Delete this interface once auth-scheme is cleaned up.
- */
-@SdkPublicApi
-public interface AwsV4QueryHttpSigner extends AwsV4HttpSigner {
-
- /**
- * Get a default implementation of a {@link AwsV4QueryHttpSigner}
- *
- * @return DefaultAwsV4QueryHttpSigner
- */
- static AwsV4QueryHttpSigner create() {
- return null;
- }
-}
diff --git a/core/http-auth-aws/src/main/java/software/amazon/awssdk/http/auth/aws/AwsV4aHttpSigner.java b/core/http-auth-aws/src/main/java/software/amazon/awssdk/http/auth/aws/AwsV4aHttpSigner.java
index 77110bf8b9fe..efc47cb7483e 100644
--- a/core/http-auth-aws/src/main/java/software/amazon/awssdk/http/auth/aws/AwsV4aHttpSigner.java
+++ b/core/http-auth-aws/src/main/java/software/amazon/awssdk/http/auth/aws/AwsV4aHttpSigner.java
@@ -89,7 +89,7 @@ public interface AwsV4aHttpSigner extends HttpSigner {
* Get a default implementation of a {@link AwsV4aHttpSigner}
*/
static AwsV4aHttpSigner create() {
- return SignerLoader.getSigV4aSigner();
+ return SignerLoader.getAwsV4aHttpSigner();
}
/**
diff --git a/core/http-auth-aws/src/main/java/software/amazon/awssdk/http/auth/aws/internal/signer/SignerLoader.java b/core/http-auth-aws/src/main/java/software/amazon/awssdk/http/auth/aws/internal/signer/SignerLoader.java
index 80c749e749d8..6b9f5022f14a 100644
--- a/core/http-auth-aws/src/main/java/software/amazon/awssdk/http/auth/aws/internal/signer/SignerLoader.java
+++ b/core/http-auth-aws/src/main/java/software/amazon/awssdk/http/auth/aws/internal/signer/SignerLoader.java
@@ -20,7 +20,6 @@
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import software.amazon.awssdk.annotations.SdkInternalApi;
-import software.amazon.awssdk.http.auth.aws.AwsS3V4HttpSigner;
import software.amazon.awssdk.http.auth.aws.AwsV4aHttpSigner;
import software.amazon.awssdk.http.auth.spi.HttpSigner;
import software.amazon.awssdk.identity.spi.AwsCredentialsIdentity;
@@ -37,12 +36,8 @@ public final class SignerLoader {
private SignerLoader() {
}
- public static AwsV4aHttpSigner getSigV4aSigner() {
- return get(AwsV4aHttpSigner.class, "software.amazon.awssdk.http.auth.aws.crt.AwsCrtV4aHttpSigner");
- }
-
- public static AwsS3V4HttpSigner getS3SigV4aSigner() {
- return get(AwsS3V4HttpSigner.class, "software.amazon.awssdk.http.auth.aws.crt.AwsCrtS3V4aHttpSigner");
+ public static AwsV4aHttpSigner getAwsV4aHttpSigner() {
+ return get(AwsV4aHttpSigner.class, "software.amazon.awssdk.http.auth.aws.crt.DefaultAwsCrtV4aHttpSigner");
}
@SuppressWarnings("unchecked")