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 IAutoCredentials
prepare
in interface ICredentialsRenewer
prepare
in interface INimbusCredentialPlugin
public void populateCredentials(Map<String,String> credentials, Map topologyConfiguration)
populateCredentials
in interface INimbusCredentialPlugin
public void populateCredentials(Map<String,String> credentials, Map<String,Object> topologyConfiguration, String topologyOwnerPrincipal)
populateCredentials
in interface INimbusCredentialPlugin
public void shutdown()
shutdown
in interface Shutdownable
public void renew(Map<String,String> credentials, Map topologyConf)
renew
in interface ICredentialsRenewer
public void renew(Map<String,String> credentials, Map<String,Object> topologyConf, String topologyOwnerPrincipal)
renew
in interface ICredentialsRenewer
public void populateCredentials(Map<String,String> credentials)
populateCredentials
in interface IAutoCredentials
public void populateSubject(Subject subject, Map<String,String> credentials)
populateSubject
in interface IAutoCredentials
public void updateSubject(Subject subject, Map<String,String> credentials)
updateSubject
in interface IAutoCredentials