diff --git a/core/http-auth-aws-crt/pom.xml b/core/http-auth-aws-crt/pom.xml new file mode 100644 index 000000000000..555719b22523 --- /dev/null +++ b/core/http-auth-aws-crt/pom.xml @@ -0,0 +1,65 @@ + + + + + 4.0.0 + + + software.amazon.awssdk + core + 2.20.47-SNAPSHOT + + + http-auth-aws-crt + AWS Java SDK :: HTTP Auth AWS CRT + + The AWS SDK for Java - HTTP Auth AWS module contains interfaces and implementations for http authentication + specific to the AWS CRT. + + https://aws.amazon.com/sdkforjava + + + + software.amazon.awssdk + annotations + ${awsjavasdk.version} + + + software.amazon.awssdk + http-auth-spi + ${awsjavasdk.version} + + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + software.amazon.awssdk.http.auth.aws.crt + + + + + + + + diff --git a/core/http-auth-aws-crt/src/main/java/software/amazon/awssdk/http/auth/aws/crt/AwsCrtS3V4aHttpAuthScheme.java b/core/http-auth-aws-crt/src/main/java/software/amazon/awssdk/http/auth/aws/crt/AwsCrtS3V4aHttpAuthScheme.java new file mode 100644 index 000000000000..ac4f0a96715f --- /dev/null +++ b/core/http-auth-aws-crt/src/main/java/software/amazon/awssdk/http/auth/aws/crt/AwsCrtS3V4aHttpAuthScheme.java @@ -0,0 +1,24 @@ +/* + * 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.crt; + +import software.amazon.awssdk.annotations.SdkPublicApi; +import software.amazon.awssdk.http.auth.spi.HttpSigner; + +@SdkPublicApi +public interface AwsCrtS3V4aHttpAuthScheme extends HttpSigner { + +} diff --git a/core/http-auth-aws-crt/src/main/java/software/amazon/awssdk/http/auth/aws/crt/AwsCrtV4aHttpAuthScheme.java b/core/http-auth-aws-crt/src/main/java/software/amazon/awssdk/http/auth/aws/crt/AwsCrtV4aHttpAuthScheme.java new file mode 100644 index 000000000000..8ee57f9d8200 --- /dev/null +++ b/core/http-auth-aws-crt/src/main/java/software/amazon/awssdk/http/auth/aws/crt/AwsCrtV4aHttpAuthScheme.java @@ -0,0 +1,24 @@ +/* + * 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.crt; + +import software.amazon.awssdk.annotations.SdkPublicApi; +import software.amazon.awssdk.http.auth.spi.HttpSigner; + +@SdkPublicApi +public interface AwsCrtV4aHttpAuthScheme extends HttpSigner { + +} diff --git a/core/http-auth-aws/pom.xml b/core/http-auth-aws/pom.xml new file mode 100644 index 000000000000..b6b2a9ff5fbe --- /dev/null +++ b/core/http-auth-aws/pom.xml @@ -0,0 +1,65 @@ + + + + + 4.0.0 + + + software.amazon.awssdk + core + 2.20.47-SNAPSHOT + + + http-auth-aws + AWS Java SDK :: HTTP Auth AWS + + The AWS SDK for Java - HTTP Auth AWS module contains interfaces and implementations for http authentication + specific to AWS. + + https://aws.amazon.com/sdkforjava + + + + software.amazon.awssdk + annotations + ${awsjavasdk.version} + + + software.amazon.awssdk + http-auth-spi + ${awsjavasdk.version} + + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + software.amazon.awssdk.http.auth.aws + + + + + + + + diff --git a/core/http-auth-aws/src/main/java/software/amazon/awssdk/http/auth/aws/AwsS3V4HttpSigner.java b/core/http-auth-aws/src/main/java/software/amazon/awssdk/http/auth/aws/AwsS3V4HttpSigner.java new file mode 100644 index 000000000000..7a7c021cee18 --- /dev/null +++ b/core/http-auth-aws/src/main/java/software/amazon/awssdk/http/auth/aws/AwsS3V4HttpSigner.java @@ -0,0 +1,24 @@ +/* + * 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; + +@SdkPublicApi +public interface AwsS3V4HttpSigner extends HttpSigner { + +} diff --git a/core/http-auth-event-stream/pom.xml b/core/http-auth-event-stream/pom.xml new file mode 100644 index 000000000000..abe01b4452dd --- /dev/null +++ b/core/http-auth-event-stream/pom.xml @@ -0,0 +1,65 @@ + + + + + 4.0.0 + + + software.amazon.awssdk + core + 2.20.47-SNAPSHOT + + + http-auth-event-stream + AWS Java SDK :: HTTP Auth Event Stream + + The AWS SDK for Java - HTTP Auth module contains interfaces and implementations for http authentication + specific to the event streams. + + https://aws.amazon.com/sdkforjava + + + + software.amazon.awssdk + annotations + ${awsjavasdk.version} + + + software.amazon.awssdk + http-auth-spi + ${awsjavasdk.version} + + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + software.amazon.awssdk.http.auth.eventstream + + + + + + + + diff --git a/core/http-auth-event-stream/src/main/java/software/amazon/awssdk/http/auth/eventstream/AwsV4EventStreamHttpAuthScheme.java b/core/http-auth-event-stream/src/main/java/software/amazon/awssdk/http/auth/eventstream/AwsV4EventStreamHttpAuthScheme.java new file mode 100644 index 000000000000..4ea700025424 --- /dev/null +++ b/core/http-auth-event-stream/src/main/java/software/amazon/awssdk/http/auth/eventstream/AwsV4EventStreamHttpAuthScheme.java @@ -0,0 +1,24 @@ +/* + * 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.eventstream; + +import software.amazon.awssdk.annotations.SdkPublicApi; +import software.amazon.awssdk.http.auth.spi.HttpSigner; + +@SdkPublicApi +public interface AwsV4EventStreamHttpAuthScheme extends HttpSigner { + +} diff --git a/core/http-auth/pom.xml b/core/http-auth/pom.xml new file mode 100644 index 000000000000..af4453bf6f27 --- /dev/null +++ b/core/http-auth/pom.xml @@ -0,0 +1,64 @@ + + + + + 4.0.0 + + + software.amazon.awssdk + core + 2.20.47-SNAPSHOT + + + http-auth + AWS Java SDK :: HTTP Auth + + The AWS SDK for Java - HTTP Auth module contains interfaces and implementations for http authentication + + https://aws.amazon.com/sdkforjava + + + + software.amazon.awssdk + annotations + ${awsjavasdk.version} + + + software.amazon.awssdk + http-auth-spi + ${awsjavasdk.version} + + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + software.amazon.awssdk.http.auth + + + + + + + + diff --git a/core/http-auth/src/main/java/software/amazon/awssdk/http/auth/AwsV4HttpSigner.java b/core/http-auth/src/main/java/software/amazon/awssdk/http/auth/AwsV4HttpSigner.java new file mode 100644 index 000000000000..b0aec7c10056 --- /dev/null +++ b/core/http-auth/src/main/java/software/amazon/awssdk/http/auth/AwsV4HttpSigner.java @@ -0,0 +1,24 @@ +/* + * 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; + +import software.amazon.awssdk.annotations.SdkPublicApi; +import software.amazon.awssdk.http.auth.spi.HttpSigner; + +@SdkPublicApi +public interface AwsV4HttpSigner extends HttpSigner { + +} diff --git a/core/http-auth/src/main/java/software/amazon/awssdk/http/auth/AwsV4QueryHttpSigner.java b/core/http-auth/src/main/java/software/amazon/awssdk/http/auth/AwsV4QueryHttpSigner.java new file mode 100644 index 000000000000..d5aa55fb43f2 --- /dev/null +++ b/core/http-auth/src/main/java/software/amazon/awssdk/http/auth/AwsV4QueryHttpSigner.java @@ -0,0 +1,24 @@ +/* + * 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; + +import software.amazon.awssdk.annotations.SdkPublicApi; +import software.amazon.awssdk.http.auth.spi.HttpSigner; + +@SdkPublicApi +public interface AwsV4QueryHttpSigner extends HttpSigner { + +} diff --git a/core/http-auth/src/main/java/software/amazon/awssdk/http/auth/BearerHttpSigner.java b/core/http-auth/src/main/java/software/amazon/awssdk/http/auth/BearerHttpSigner.java new file mode 100644 index 000000000000..e8688e972c0d --- /dev/null +++ b/core/http-auth/src/main/java/software/amazon/awssdk/http/auth/BearerHttpSigner.java @@ -0,0 +1,24 @@ +/* + * 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; + +import software.amazon.awssdk.annotations.SdkPublicApi; +import software.amazon.awssdk.http.auth.spi.HttpSigner; + +@SdkPublicApi +public interface BearerHttpSigner extends HttpSigner { + +} diff --git a/core/pom.xml b/core/pom.xml index 3f8e14089963..54d8a6b78d4c 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -38,6 +38,10 @@ auth identity-spi http-auth-spi + http-auth + http-auth-aws + http-auth-aws-crt + http-auth-event-stream auth-crt sdk-core aws-core