public class BasicJwtCredentialsProvider extends JwtCredentialsProvider
| Modifier and Type | Field and Description |
|---|---|
protected static String |
KEY_SSL_INSECURE |
protected boolean |
m_sslInsecure |
m_disableCache, m_log| Constructor and Description |
|---|
BasicJwtCredentialsProvider()
Optional default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addParameter(String key,
String value) |
protected CloseableHttpClient |
getHttpClient() |
protected String |
getJwtAssertion()
This method needs to return the JWT string returned by the specific JWT provider
being used for this implementation.
|
String |
getPluginSpecificCacheKey() |
getCacheKey, getCredentials, getIdpToken, getSubType, isNullOrEmpty, refresh, setLoggerprotected static final String KEY_SSL_INSECURE
protected boolean m_sslInsecure
public BasicJwtCredentialsProvider()
public String getPluginSpecificCacheKey()
getPluginSpecificCacheKey in interface INativePlugingetPluginSpecificCacheKey in class JwtCredentialsProviderpublic void addParameter(String key, String value)
addParameter in interface INativePluginaddParameter in class JwtCredentialsProviderprotected String getJwtAssertion() throws IOException
This will be used by the JwtCredentialsProvider parent class to get the temporary credentials.
getJwtAssertion in class JwtCredentialsProviderIOException - throws exception when required parameters are missing.protected CloseableHttpClient getHttpClient()
throws GeneralSecurityException
GeneralSecurityExceptionCopyright © 2022 Amazon.com Inc.. All rights reserved.