Package org.apache.storm.security.auth
Interface IGroupMappingServiceProvider
- All Known Implementing Classes:
FixedGroupsMapping
,ShellBasedGroupsMapping
public interface IGroupMappingServiceProvider
-
Method Summary
-
Method Details
-
prepare
Invoked once immediately after construction.- Parameters:
topoConf
- Storm configuration
-
getGroups
Get all various group memberships of a given user. Returns EMPTY list in case of non-existing user.- Parameters:
user
- User's name- Returns:
- group memberships of user
- Throws:
IOException
-