public class AzureCredentialsProvider 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 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 |
|---|
AzureCredentialsProvider() |
| Modifier and Type | Method and Description |
|---|---|
void |
addParameter(String key,
String value)
Overwritten method to grab the field parameters from JDBC connection string.
|
protected CloseableHttpClient |
getHttpClient() |
String |
getPluginSpecificCacheKey() |
protected static String |
getRegexForJsonKey(String keyName) |
protected String |
getSamlAssertion()
Required method to grab the SAML Response.
|
protected void |
validateURL(String paramString) |
checkRequiredParameters, escapeHtmlEntity, getCacheKey, getCredentials, getFormAction, getIdpToken, getInputTagsfromHTML, getSubType, getValueByKey, getValueByKeyWithoutQuotesAndValueInSingleQuote, isPassword, isText, refresh, setGroupFederation, 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 String getSamlAssertion() throws IOException
getSamlAssertion in class SamlCredentialsProviderIOException - throws error when missing required parameters or unable to access IDP host.public void addParameter(String key, String value)
addParameter in interface IPluginaddParameter in class SamlCredentialsProviderkey - parameter key passed to JDBCvalue - paramter value associated with the given keypublic String getPluginSpecificCacheKey()
getPluginSpecificCacheKey in interface IPlugingetPluginSpecificCacheKey in class SamlCredentialsProviderprotected CloseableHttpClient getHttpClient()
throws GeneralSecurityException
GeneralSecurityExceptionprotected void validateURL(String paramString) throws IOException
IOExceptionCopyright © 2024 Amazon.com Inc.. All rights reserved.