public class AutoElasticsearch extends Object implements IAutoCredentials, ICredentialsRenewer, INimbusCredentialPlugin
| Modifier and Type | Field and Description |
|---|---|
static String |
USER_KEYTAB |
static String |
USER_PRINCIPAL |
| Constructor and Description |
|---|
AutoElasticsearch() |
| Modifier and Type | Method and Description |
|---|---|
void |
populateCredentials(Map<String,String> credentials) |
void |
populateCredentials(Map<String,String> credentials,
Map topologyConfiguration)
Deprecated.
This is available for any storm cluster that operates against the older method of obtaining credentials
|
void |
populateCredentials(Map<String,String> credentials,
Map<String,Object> topologyConfiguration,
String topologyOwnerPrincipal) |
void |
populateSubject(Subject subject,
Map<String,String> credentials) |
void |
prepare(Map stormClusterConfiguration) |
void |
renew(Map<String,String> credentials,
Map topologyConf)
Deprecated.
This is available for any storm cluster that operates against the older method of credential renewal
|
void |
renew(Map<String,String> credentials,
Map<String,Object> topologyConf,
String topologyOwnerPrincipal) |
void |
shutdown() |
void |
updateSubject(Subject subject,
Map<String,String> credentials) |
public static final String USER_PRINCIPAL
public static final String USER_KEYTAB
public void prepare(Map stormClusterConfiguration)
prepare in interface IAutoCredentialsprepare in interface ICredentialsRenewerprepare in interface INimbusCredentialPluginpublic void populateCredentials(Map<String,String> credentials, Map topologyConfiguration)
populateCredentials in interface INimbusCredentialPluginpublic void populateCredentials(Map<String,String> credentials, Map<String,Object> topologyConfiguration, String topologyOwnerPrincipal)
populateCredentials in interface INimbusCredentialPluginpublic void shutdown()
shutdown in interface Shutdownablepublic void renew(Map<String,String> credentials, Map topologyConf)
renew in interface ICredentialsRenewerpublic void renew(Map<String,String> credentials, Map<String,Object> topologyConf, String topologyOwnerPrincipal)
renew in interface ICredentialsRenewerpublic void populateCredentials(Map<String,String> credentials)
populateCredentials in interface IAutoCredentialspublic void populateSubject(Subject subject, Map<String,String> credentials)
populateSubject in interface IAutoCredentialspublic void updateSubject(Subject subject, Map<String,String> credentials)
updateSubject in interface IAutoCredentials