public class AWSCredentialsProviderChainTest extends Object
Constructor and Description |
---|
AWSCredentialsProviderChainTest() |
Modifier and Type | Method and Description |
---|---|
void |
testDisableReusingLastProvider()
Tests that, when provider caching is disabled, the chain will always try
all providers in the chain, starting with the first, until it finds a
provider that can return credentials.
|
void |
testReusingLastProvider()
Tests that, by default, the chain remembers which provider was able to
provide credentials, and only calls that provider for any additional
calls to getCredentials.
|
Copyright © 2017. All rights reserved.