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