GroupMappingServiceProviderpublic class JniBasedUnixGroupsMappingWithFallback extends java.lang.Object implements GroupMappingServiceProvider
GROUP_MAPPING_CONFIG_PREFIX| Constructor | Description |
|---|---|
JniBasedUnixGroupsMappingWithFallback() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
cacheGroupsAdd(java.util.List<java.lang.String> groups) |
Caches the group user information
|
void |
cacheGroupsRefresh() |
Refresh the cache of groups and user mapping
|
java.util.List<java.lang.String> |
getGroups(java.lang.String user) |
Get all various group memberships of a given user.
|
java.util.Set<java.lang.String> |
getGroupsSet(java.lang.String user) |
Get all various group memberships of a given user.
|
public JniBasedUnixGroupsMappingWithFallback()
public java.util.List<java.lang.String> getGroups(java.lang.String user)
throws java.io.IOException
GroupMappingServiceProvidergetGroups in interface GroupMappingServiceProvideruser - User's namejava.io.IOException - raised on errors performing I/O.public void cacheGroupsRefresh()
throws java.io.IOException
GroupMappingServiceProvidercacheGroupsRefresh in interface GroupMappingServiceProviderjava.io.IOException - raised on errors performing I/O.public void cacheGroupsAdd(java.util.List<java.lang.String> groups)
throws java.io.IOException
GroupMappingServiceProvidercacheGroupsAdd in interface GroupMappingServiceProvidergroups - list of groups to add to cachejava.io.IOException - raised on errors performing I/O.public java.util.Set<java.lang.String> getGroupsSet(java.lang.String user)
throws java.io.IOException
GroupMappingServiceProvidergetGroupsSet in interface GroupMappingServiceProvideruser - User's namejava.io.IOException - raised on errors performing I/O.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.