public class BrowserSamlCredentialsProvider extends SamlCredentialsProvider
| Modifier and Type | Field and Description |
|---|---|
protected static Pattern |
IAM_HTTP_URL_PATTERN |
protected static Pattern |
IAM_URL_PATTERN |
static String |
KEY_IDP_RESPONSE_TIMEOUT
String containing "idp_response_timeout" as a parameter key.
|
static String |
KEY_LISTEN_PORT
String containing "listen_port" as a parameter key.
|
static String |
KEY_LOGIN_URL
String containing "login_url" as a parameter key.
|
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 |
|---|
BrowserSamlCredentialsProvider() |
| 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()
Overridden 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, setLoggerpublic static final String KEY_LOGIN_URL
public static final String KEY_IDP_RESPONSE_TIMEOUT
public static final String KEY_LISTEN_PORT
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
protected String getSamlAssertion() throws IOException
getSamlAssertion in class SamlCredentialsProviderIOException - as part of common API. mean parameters are not set or has invalid values.public void addParameter(String key, String value)
addParameter in interface IPluginaddParameter in class SamlCredentialsProviderkey - parameter key passed to JDBCvalue - parameter 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.