com.amazonaws.auth
Class SessionCredentialsProviderFactory
java.lang.Object
   com.amazonaws.auth.SessionCredentialsProviderFactory
com.amazonaws.auth.SessionCredentialsProviderFactory
- public class SessionCredentialsProviderFactory 
- extends java.lang.Object
Session credentials provider factory to share providers across potentially
 many clients.
 
 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
SessionCredentialsProviderFactory
public SessionCredentialsProviderFactory()
getSessionCredentialsProvider
public static STSSessionCredentialsProvider getSessionCredentialsProvider(AWSCredentials longTermCredentials,
                                                                          java.lang.String serviceEndpoint,
                                                                          ClientConfiguration stsClientConfiguration)
- Gets a session credentials provider for the long-term credentials and
 service endpoint given. These are shared globally to support reuse of
 session tokens.
 
- 
- Parameters:
- longTermCredentials- The long-term AWS account credentials used to initiate a
            session.
- serviceEndpoint- The service endpoint for the service the session credentials
            will be used to access.
- stsClientConfiguration- Client configuration for the- AWSSecurityTokenServiceused to fetch session credentials.
 
                Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.