org.kuali.maven.wagon.auth
Class AwsSessionCredentials

java.lang.Object
  extended by org.kuali.maven.wagon.auth.AwsSessionCredentials
All Implemented Interfaces:
com.amazonaws.auth.AWSCredentials, com.amazonaws.auth.AWSSessionCredentials

public final class AwsSessionCredentials
extends Object
implements com.amazonaws.auth.AWSSessionCredentials

Implementation of AWSSessionCredentials that is immutable.


Constructor Summary
AwsSessionCredentials(com.amazonaws.auth.AWSSessionCredentials credentials)
           
AwsSessionCredentials(String accessKey, String secretKey, String sessionToken)
           
 
Method Summary
 String getAWSAccessKeyId()
           
 String getAWSSecretKey()
           
 String getSessionToken()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AwsSessionCredentials

public AwsSessionCredentials(com.amazonaws.auth.AWSSessionCredentials credentials)

AwsSessionCredentials

public AwsSessionCredentials(String accessKey,
                             String secretKey,
                             String sessionToken)
Method Detail

getAWSAccessKeyId

public String getAWSAccessKeyId()
Specified by:
getAWSAccessKeyId in interface com.amazonaws.auth.AWSCredentials

getAWSSecretKey

public String getAWSSecretKey()
Specified by:
getAWSSecretKey in interface com.amazonaws.auth.AWSCredentials

getSessionToken

public String getSessionToken()
Specified by:
getSessionToken in interface com.amazonaws.auth.AWSSessionCredentials


Copyright © 2010-2013 The Kuali Foundation. All Rights Reserved.