Package org.apache.storm.hbase.security
Class AutoHBase
- java.lang.Object
-
- org.apache.storm.common.AbstractHadoopAutoCreds
-
- org.apache.storm.hbase.security.AutoHBase
-
- All Implemented Interfaces:
CredentialKeyProvider,IAutoCredentials
public class AutoHBase extends AbstractHadoopAutoCreds
Auto credentials plugin for HBase implementation. This class provides a way to automatically push credentials to a topology and to retrieve them in the worker.
-
-
Constructor Summary
Constructors Constructor Description AutoHBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoPrepare(Map<String,Object> conf)Prepare the plugin.protected StringgetConfigKeyString()The lookup key for the config key string.StringgetCredentialKey(String configKey)The lookup key for the config key string.-
Methods inherited from class org.apache.storm.common.AbstractHadoopAutoCreds
getCredentials, populateCredentials, populateSubject, prepare, updateSubject
-
-
-
-
Method Detail
-
doPrepare
public void doPrepare(Map<String,Object> conf)
Description copied from class:AbstractHadoopAutoCredsPrepare the plugin.- Specified by:
doPreparein classAbstractHadoopAutoCreds- Parameters:
conf- the topology conf
-
getConfigKeyString
protected String getConfigKeyString()
Description copied from class:AbstractHadoopAutoCredsThe lookup key for the config key string.- Specified by:
getConfigKeyStringin classAbstractHadoopAutoCreds- Returns:
- the config key string
-
getCredentialKey
public String getCredentialKey(String configKey)
Description copied from interface:CredentialKeyProviderThe lookup key for the config key string.- Returns:
- the config key string
-
-