public class AWSCredentialsProviderChainTest extends Object
Modifier and Type | Field and Description |
---|---|
ExpectedException |
thrown |
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 |
testGetCredentialsException()
Tests that getCredentials throws an thrown if all providers in the
chain fail to provide 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.
|
public void testReusingLastProvider() throws Exception
Exception
public void testDisableReusingLastProvider() throws Exception
Exception
public void testGetCredentialsException()
Copyright © 2022. All rights reserved.