public class JniBasedUnixGroupsMappingWithFallback extends Object implements GroupMappingServiceProvider
GROUP_MAPPING_CONFIG_PREFIX| Constructor and Description | 
|---|
JniBasedUnixGroupsMappingWithFallback()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
cacheGroupsAdd(List<String> groups)
Caches the group user information 
 | 
void | 
cacheGroupsRefresh()
Refresh the cache of groups and user mapping 
 | 
List<String> | 
getGroups(String user)
Get all various group memberships of a given user. 
 | 
public JniBasedUnixGroupsMappingWithFallback()
public List<String> getGroups(String user) throws IOException
GroupMappingServiceProvidergetGroups in interface GroupMappingServiceProvideruser - User's nameIOExceptionpublic void cacheGroupsRefresh()
                        throws IOException
GroupMappingServiceProvidercacheGroupsRefresh in interface GroupMappingServiceProviderIOExceptionpublic void cacheGroupsAdd(List<String> groups) throws IOException
GroupMappingServiceProvidercacheGroupsAdd in interface GroupMappingServiceProvidergroups - list of groups to add to cacheIOExceptionCopyright © 2018 Apache Software Foundation. All Rights Reserved.