public final class CredentialUtils extends Object
Modifier and Type | Method and Description |
---|---|
static AwsCredentialsProvider |
getCredentialsProvider(AwsRequest req,
AwsCredentialsProvider base)
Returns the credentials provider that will be used to fetch the
credentials when signing the request.
|
static AwsCredentialsProvider |
getCredentialsProvider(AwsRequestOverrideConfig requestConfig,
AwsCredentialsProvider base) |
static boolean |
isAnonymous(AwsCredentials credentials)
Determine whether the provided credentials are anonymous credentials, indicating that the customer is not attempting to
authenticate themselves.
|
public static AwsCredentialsProvider getCredentialsProvider(AwsRequest req, AwsCredentialsProvider base)
public static AwsCredentialsProvider getCredentialsProvider(AwsRequestOverrideConfig requestConfig, AwsCredentialsProvider base)
public static boolean isAnonymous(AwsCredentials credentials)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.