public class OktaCredentialsProvider extends SamlCredentialsProvider
| 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 String |
m_app_id |
protected String |
m_app_name |
protected RedshiftLogger |
m_log |
protected boolean |
m_sslInsecure |
KEY_IDP_HOST, m_autoCreate, m_dbGroups, m_dbGroupsFilter, m_dbUser, m_disableCache, m_duration, m_forceLowercase, m_groupFederation, m_idpHost, m_idpPort, m_password, m_preferredRole, m_region, m_stsEndpoint, m_userName| Constructor and Description |
|---|
OktaCredentialsProvider() |
| Modifier and Type | Method and Description |
|---|---|
void |
addParameter(String key,
String value) |
protected CloseableHttpClient |
getHttpClient() |
String |
getPluginSpecificCacheKey() |
protected static String |
getRegexForJsonKey(String keyName) |
protected String |
getSamlAssertion() |
protected void |
validateURL(String paramString) |
checkRequiredParameters, escapeHtmlEntity, getCacheKey, getCredentials, getFormAction, getIdpToken, getInputTagsfromHTML, getSubType, getValueByKey, getValueByKeyWithoutQuotesAndValueInSingleQuote, isPassword, isText, refresh, setGroupFederation, setLoggerprotected String m_app_id
protected String m_app_name
protected 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
public void addParameter(String key, String value)
addParameter in interface IPluginaddParameter in class SamlCredentialsProviderpublic String getPluginSpecificCacheKey()
getPluginSpecificCacheKey in interface IPlugingetPluginSpecificCacheKey in class SamlCredentialsProviderprotected String getSamlAssertion() throws IOException
getSamlAssertion in class SamlCredentialsProviderIOExceptionprotected CloseableHttpClient getHttpClient()
throws GeneralSecurityException
GeneralSecurityExceptionprotected void validateURL(String paramString) throws IOException
IOExceptionCopyright © 2024 Amazon.com Inc.. All rights reserved.