@InterfaceAudience.Public @InterfaceStability.Evolving public interface GroupMappingServiceProvider
Groups
.Modifier and Type | Field and Description |
---|---|
static String |
GROUP_MAPPING_CONFIG_PREFIX |
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.
|
static final String GROUP_MAPPING_CONFIG_PREFIX
List<String> getGroups(String user) throws IOException
user
- User's nameIOException
void cacheGroupsRefresh() throws IOException
IOException
void cacheGroupsAdd(List<String> groups) throws IOException
groups
- list of groups to add to cacheIOException
Copyright © 2016 Apache Software Foundation. All Rights Reserved.