public class CredentialUtils extends Object
Constructor | Description |
---|---|
CredentialUtils() |
Modifier and Type | Method | Description |
---|---|---|
static AwsCredentialsProvider |
getCredentialsProvider(AmazonWebServiceRequest req,
AwsCredentialsProvider base) |
Returns the credentials provider that will be used to fetch the
credentials when signing the request.
|
static AwsCredentialsProvider |
getCredentialsProvider(RequestConfig 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(AmazonWebServiceRequest req, AwsCredentialsProvider base)
public static AwsCredentialsProvider getCredentialsProvider(RequestConfig requestConfig, AwsCredentialsProvider base)
public static boolean isAnonymous(AwsCredentials credentials)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.