Class AwsCredentialsAuthorizationStrategy
- java.lang.Object
-
- software.amazon.awssdk.awscore.internal.authcontext.AwsCredentialsAuthorizationStrategy
-
- All Implemented Interfaces:
AuthorizationStrategy
@Deprecated public final class AwsCredentialsAuthorizationStrategy extends Object implements AuthorizationStrategy
Deprecated.This is only used for compatibility with pre-SRA authorization logic. After we are comfortable that the new code paths are working, we should migrate old clients to the new code paths (where possible) and delete this code.An authorization strategy for AWS Credentials that can resolve a compatible signer as well as provide resolved AWS credentials as an execution attribute.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AwsCredentialsAuthorizationStrategy.Builder
Deprecated.
-
Constructor Summary
Constructors Constructor Description AwsCredentialsAuthorizationStrategy(AwsCredentialsAuthorizationStrategy.Builder builder)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addCredentialsToExecutionAttributes(ExecutionAttributes executionAttributes)
Deprecated.Add credentials to be used by the signer in later stages.static AwsCredentialsAuthorizationStrategy.Builder
builder()
Deprecated.Signer
resolveSigner()
Deprecated.Request override signers take precedence over the default alternative, for instance what is specified in the client.
-
-
-
Constructor Detail
-
AwsCredentialsAuthorizationStrategy
public AwsCredentialsAuthorizationStrategy(AwsCredentialsAuthorizationStrategy.Builder builder)
Deprecated.
-
-
Method Detail
-
builder
public static AwsCredentialsAuthorizationStrategy.Builder builder()
Deprecated.
-
resolveSigner
public Signer resolveSigner()
Deprecated.Request override signers take precedence over the default alternative, for instance what is specified in the client. Request override signers can also be modified by modifyRequest interceptors.- Specified by:
resolveSigner
in interfaceAuthorizationStrategy
- Returns:
- The signer that will be used by the SDK to sign the request
-
addCredentialsToExecutionAttributes
public void addCredentialsToExecutionAttributes(ExecutionAttributes executionAttributes)
Deprecated.Add credentials to be used by the signer in later stages.- Specified by:
addCredentialsToExecutionAttributes
in interfaceAuthorizationStrategy
-
-