|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@InterfaceAudience.Public @InterfaceStability.Evolving public interface GroupMappingServiceProvider
An interface for the implementation of a user-to-groups mapping service
used by Groups
.
Field Summary | |
---|---|
static String |
GROUP_MAPPING_CONFIG_PREFIX
|
Method Summary | |
---|---|
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. |
Field Detail |
---|
static final String GROUP_MAPPING_CONFIG_PREFIX
Method Detail |
---|
List<String> getGroups(String user) throws IOException
user
- User's name
IOException
void cacheGroupsRefresh() throws IOException
IOException
void cacheGroupsAdd(List<String> groups) throws IOException
groups
- list of groups to add to cache
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |