Package org.apache.storm.security.auth
Class ShellBasedGroupsMapping
java.lang.Object
org.apache.storm.security.auth.ShellBasedGroupsMapping
- All Implemented Interfaces:
IGroupMappingServiceProvider
-
Field Summary
Modifier and TypeFieldDescriptionstatic final org.slf4j.Logger
-
Constructor Summary
-
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:
prepare
in interfaceIGroupMappingServiceProvider
- Parameters:
topoConf
- Storm configuration
-
getGroups
Returns list of groups for a user.- Specified by:
getGroups
in interfaceIGroupMappingServiceProvider
- Parameters:
user
- get groups for this user- Returns:
- list of groups for a given user
- Throws:
IOException
-