com.amazonaws.auth
Class AnonymousAWSCredentials

java.lang.Object
  extended by com.amazonaws.auth.AnonymousAWSCredentials
All Implemented Interfaces:
AWSCredentials

public class AnonymousAWSCredentials
extends Object
implements AWSCredentials

Basic implementation of the AWSCredentials interface that allows use of "anonymous" credentials. Using anonymous credentials will result in requests not being signed before sending to the service. Any service that does not accept unsigned requests will return a service exception in this case.


Constructor Summary
AnonymousAWSCredentials()
           
 
Method Summary
 String getAWSAccessKeyId()
          Returns the AWS access key ID for this credentials object.
 String getAWSSecretKey()
          Returns the AWS secret access key for this credentials object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnonymousAWSCredentials

public AnonymousAWSCredentials()
Method Detail

getAWSAccessKeyId

public String getAWSAccessKeyId()
Description copied from interface: AWSCredentials
Returns the AWS access key ID for this credentials object.

Specified by:
getAWSAccessKeyId in interface AWSCredentials
Returns:
The AWS access key ID for this credentials object.

getAWSSecretKey

public String getAWSSecretKey()
Description copied from interface: AWSCredentials
Returns the AWS secret access key for this credentials object.

Specified by:
getAWSSecretKey in interface AWSCredentials
Returns:
The AWS secret access key for this credentials object.


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.