public class BrowserAzureCredentialsProvider extends SamlCredentialsProvider
| Modifier and Type | Field and Description |
|---|---|
protected static Pattern |
IAM_HTTP_URL_PATTERN |
protected static Pattern |
IAM_URL_PATTERN |
static String |
KEY_CLIENT_ID
Key for setting client ID.
|
static String |
KEY_IDP_RESPONSE_TIMEOUT
Key for setting timeout for IDP response.
|
static String |
KEY_IDP_TENANT
Key for setting idp tenant.
|
static String |
KEY_LISTEN_PORT
Key for setting the port number for listening.
|
protected static String |
KEY_SSL_INSECURE |
protected RedshiftLogger |
m_log |
protected boolean |
m_sslInsecure |
static String |
OAUTH_CLIENT_ID_PARAMETER_NAME
Key for setting client ID.
|
static String |
OAUTH_GRANT_TYPE_PARAMETER_NAME
Key for setting grant type.
|
static String |
OAUTH_IDP_CODE_PARAMETER_NAME
Key for setting code.
|
static String |
OAUTH_REDIRECT_PARAMETER_NAME
Key for setting redirect URI.
|
static String |
OAUTH_REQUESTED_TOKEN_TYPE_PARAMETER_NAME
Key for setting requested token type.
|
static String |
OAUTH_RESOURCE_PARAMETER_NAME
Key for setting resource.
|
static String |
OAUTH_RESPONSE_MODE_PARAMETER_NAME
Key for setting response mode.
|
static String |
OAUTH_RESPONSE_TYPE_PARAMETER_NAME
Key for setting OAUTH response type.
|
static String |
OAUTH_SCOPE_PARAMETER_NAME
Key for setting scope.
|
static String |
OAUTH_STATE_PARAMETER_NAME
Key for setting state.
|
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 |
|---|
BrowserAzureCredentialsProvider() |
| 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_IDP_RESPONSE_TIMEOUT
public static final String KEY_LISTEN_PORT
public static final String KEY_IDP_TENANT
public static final String KEY_CLIENT_ID
public static final String OAUTH_STATE_PARAMETER_NAME
public static final String OAUTH_REDIRECT_PARAMETER_NAME
public static final String OAUTH_IDP_CODE_PARAMETER_NAME
public static final String OAUTH_CLIENT_ID_PARAMETER_NAME
public static final String OAUTH_RESPONSE_TYPE_PARAMETER_NAME
public static final String OAUTH_REQUESTED_TOKEN_TYPE_PARAMETER_NAME
public static final String OAUTH_GRANT_TYPE_PARAMETER_NAME
public static final String OAUTH_SCOPE_PARAMETER_NAME
public static final String OAUTH_RESOURCE_PARAMETER_NAME
public static final String OAUTH_RESPONSE_MODE_PARAMETER_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
protected String getSamlAssertion() throws IOException
getSamlAssertion in class SamlCredentialsProviderIOException - indicating the errorpublic 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.