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
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Prepare the plugin.protected String
The lookup key for the config key string.getCredentialKey
(String configKey) The lookup key for the config key string.Methods inherited from class org.apache.storm.common.AbstractHadoopAutoCreds
getCredentials, populateCredentials, populateSubject, prepare, updateSubject
-
Constructor Details
-
AutoHBase
public AutoHBase()
-
-
Method Details
-
doPrepare
Description copied from class:AbstractHadoopAutoCreds
Prepare the plugin.- Specified by:
doPrepare
in classAbstractHadoopAutoCreds
- Parameters:
conf
- the topology conf
-
getConfigKeyString
Description copied from class:AbstractHadoopAutoCreds
The lookup key for the config key string.- Specified by:
getConfigKeyString
in classAbstractHadoopAutoCreds
- Returns:
- the config key string
-
getCredentialKey
Description copied from interface:CredentialKeyProvider
The lookup key for the config key string.- Returns:
- the config key string
-