public abstract class SamlCredentialsProvider extends Object implements IPlugin
| Modifier and Type | Field and Description |
|---|---|
protected static Pattern |
IAM_HTTP_URL_PATTERN |
protected static Pattern |
IAM_URL_PATTERN |
protected static String |
KEY_IDP_HOST |
protected static String |
KEY_SSL_INSECURE |
protected Boolean |
m_autoCreate |
protected String |
m_dbGroups |
protected String |
m_dbGroupsFilter |
protected String |
m_dbUser |
protected Boolean |
m_disableCache |
protected int |
m_duration |
protected Boolean |
m_forceLowercase |
protected Boolean |
m_groupFederation |
protected String |
m_idpHost |
protected int |
m_idpPort |
protected RedshiftLogger |
m_log |
protected String |
m_password |
protected String |
m_preferredRole |
protected String |
m_region |
protected boolean |
m_sslInsecure |
protected String |
m_stsEndpoint |
protected String |
m_userName |
| Constructor and Description |
|---|
SamlCredentialsProvider() |
protected static final String KEY_IDP_HOST
protected String m_userName
protected String m_password
protected String m_idpHost
protected int m_idpPort
protected int m_duration
protected String m_preferredRole
protected String m_dbUser
protected String m_dbGroups
protected String m_dbGroupsFilter
protected Boolean m_forceLowercase
protected Boolean m_autoCreate
protected String m_stsEndpoint
protected String m_region
protected Boolean m_disableCache
protected Boolean m_groupFederation
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 abstract String getSamlAssertion() throws IOException
IOExceptionpublic void addParameter(String key, String value)
addParameter in interface IPluginpublic void setLogger(RedshiftLogger log)
public int getSubType()
getSubType in interface IPluginpublic CredentialsHolder getCredentials()
public void refresh()
public String getPluginSpecificCacheKey()
getPluginSpecificCacheKey in interface IPluginpublic String getIdpToken()
getIdpToken in interface IPluginpublic void setGroupFederation(boolean groupFederation)
setGroupFederation in interface IPluginpublic String getCacheKey()
getCacheKey in interface IPluginprotected String getValueByKeyWithoutQuotesAndValueInSingleQuote(String input, String key)
protected String escapeHtmlEntity(String html)
html - The string to escape.protected void checkRequiredParameters()
throws IOException
IOExceptionprotected boolean isText(String inputTag)
protected boolean isPassword(String inputTag)
protected CloseableHttpClient getHttpClient()
throws GeneralSecurityException
GeneralSecurityExceptionprotected void validateURL(String paramString) throws IOException
IOExceptionCopyright © 2024 Amazon.com Inc.. All rights reserved.