Package org.apache.storm.security.auth
Class FixedGroupsMapping
java.lang.Object
org.apache.storm.security.auth.FixedGroupsMapping
- All Implemented Interfaces:
IGroupMappingServiceProvider
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
STORM_FIXED_GROUP_MAPPING
- See Also:
-
LOG
public static org.slf4j.Logger LOG -
cachedGroups
-
-
Constructor Details
-
FixedGroupsMapping
public FixedGroupsMapping()
-
-
Method Details
-
prepare
Invoked once immediately after construction.- Specified by:
prepare
in interfaceIGroupMappingServiceProvider
- Parameters:
stormConf
- 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
-