public abstract class JwtCredentialsProvider extends Object implements IPlugin
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
m_autoCreate |
protected String |
m_dbGroups |
protected String |
m_dbGroupsFilter |
protected String |
m_dbUser |
protected int |
m_duration |
protected Boolean |
m_forceLowercase |
protected String |
m_jwt |
protected RedshiftLogger |
m_log |
protected String |
m_region |
protected String |
m_roleArn |
protected String |
m_roleSessionName |
protected String |
m_stsEndpoint |
| Constructor and Description |
|---|
JwtCredentialsProvider() |
| Modifier and Type | Method and Description |
|---|---|
void |
addParameter(String key,
String value) |
protected void |
checkRequiredParameters() |
protected String[] |
decodeJwt(String jwt) |
CredentialsHolder |
getCredentials() |
protected abstract String |
processJwt(String jwt) |
void |
refresh() |
void |
setLogger(RedshiftLogger log) |
protected String m_roleArn
protected String m_jwt
protected String m_roleSessionName
protected int m_duration
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 RedshiftLogger m_log
protected abstract String processJwt(String jwt) throws IOException
IOExceptionpublic void addParameter(String key, String value)
addParameter in interface IPluginpublic void setLogger(RedshiftLogger log)
public CredentialsHolder getCredentials()
public void refresh()
protected void checkRequiredParameters()
throws IOException
IOExceptionCopyright © 2021 Amazon.com Inc.. All rights reserved.