Package org.apache.storm.security.auth
Class ShellBasedGroupsMapping
java.lang.Object
org.apache.storm.security.auth.ShellBasedGroupsMapping
- All Implemented Interfaces:
- IGroupMappingServiceProvider
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final org.slf4j.Logger
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Field Details- 
LOGpublic static final org.slf4j.Logger LOG
- 
cachedGroups
 
- 
- 
Constructor Details- 
ShellBasedGroupsMappingpublic ShellBasedGroupsMapping()
 
- 
- 
Method Details- 
prepareInvoked once immediately after construction.- Specified by:
- preparein interface- IGroupMappingServiceProvider
- Parameters:
- topoConf- Storm configuration
 
- 
getGroupsReturns list of groups for a user.- Specified by:
- getGroupsin interface- IGroupMappingServiceProvider
- Parameters:
- user- get groups for this user
- Returns:
- list of groups for a given user
- Throws:
- IOException
 
 
-