public class IdpTokenAuthPlugin extends CommonCredentialsProvider
| Modifier and Type | Field and Description |
|---|---|
protected static Pattern |
IAM_HTTP_URL_PATTERN |
protected static Pattern |
IAM_URL_PATTERN |
protected static String |
KEY_SSL_INSECURE |
protected RedshiftLogger |
m_log |
protected boolean |
m_sslInsecure |
m_disableCache| Constructor and Description |
|---|
IdpTokenAuthPlugin() |
| Modifier and Type | Method and Description |
|---|---|
void |
addParameter(String key,
String value) |
protected NativeTokenHolder |
getAuthToken()
This overridden method needs to return the auth token provided by the client
|
protected CloseableHttpClient |
getHttpClient() |
protected static String |
getRegexForJsonKey(String keyName) |
protected void |
validateURL(String paramString) |
getCacheKey, getCredentials, getIdpToken, getPluginSpecificCacheKey, refresh, setLoggerprotected static final String KEY_SSL_INSECURE
protected boolean m_sslInsecure
protected static final Pattern IAM_URL_PATTERN
protected static final Pattern IAM_HTTP_URL_PATTERN
protected RedshiftLogger m_log
protected NativeTokenHolder getAuthToken() throws IOException
getAuthToken in class CommonCredentialsProviderNativeTokenHolder A wrapper containing auth token and its expiration time informationIOException - indicating that some required parameter is missing.public void addParameter(String key, String value)
addParameter in interface INativePluginaddParameter in class CommonCredentialsProviderprotected CloseableHttpClient getHttpClient()
throws GeneralSecurityException
GeneralSecurityExceptionprotected void validateURL(String paramString) throws IOException
IOExceptionCopyright © 2024 Amazon.com Inc.. All rights reserved.