Package org.apache.storm.hdfs.security
Class AutoHDFS
java.lang.Object
org.apache.storm.common.AbstractHadoopAutoCreds
org.apache.storm.hdfs.security.AutoHDFS
- All Implemented Interfaces:
- CredentialKeyProvider,- IAutoCredentials
Auto credentials plugin for HDFS implementation. This class provides a way to automatically
 push credentials to a topology and to retrieve them in the worker.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidPrepare the plugin.protected StringThe 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.AbstractHadoopAutoCredsgetCredentials, populateCredentials, populateSubject, prepare, updateSubject
- 
Constructor Details- 
AutoHDFSpublic AutoHDFS()
 
- 
- 
Method Details- 
doPrepareDescription copied from class:AbstractHadoopAutoCredsPrepare the plugin.- Specified by:
- doPreparein class- AbstractHadoopAutoCreds
- Parameters:
- conf- the topology conf
 
- 
getConfigKeyStringDescription copied from class:AbstractHadoopAutoCredsThe lookup key for the config key string.- Specified by:
- getConfigKeyStringin class- AbstractHadoopAutoCreds
- Returns:
- the config key string
 
- 
getCredentialKeyDescription copied from interface:CredentialKeyProviderThe lookup key for the config key string.- Returns:
- the config key string
 
 
-