public class ShellBasedGroupsMapping extends Object implements IGroupMappingServiceProvider
| Modifier and Type | Field and Description |
|---|---|
TimeCacheMap<String,Set<String>> |
cachedGroups |
static org.slf4j.Logger |
LOG |
| Constructor and Description |
|---|
ShellBasedGroupsMapping() |
public static org.slf4j.Logger LOG
public TimeCacheMap<String,Set<String>> cachedGroups
public void prepare(Map storm_conf)
prepare in interface IGroupMappingServiceProviderstorm_conf - Storm configurationpublic Set<String> getGroups(String user) throws IOException
getGroups in interface IGroupMappingServiceProvideruser - get groups for this userIOExceptionCopyright © 2015. All rights reserved.