public class NullGroupsMapping extends Object implements GroupMappingServiceProvider
UserGroupInformation when the
user group information will not be used.GROUP_MAPPING_CONFIG_PREFIX| Constructor and Description |
|---|
NullGroupsMapping() |
| Modifier and Type | Method and Description |
|---|---|
void |
cacheGroupsAdd(List<String> groups)
Nothing is returned, so nothing is cached.
|
void |
cacheGroupsRefresh()
Nothing is returned, so nothing is cached.
|
List<String> |
getGroups(String user)
Returns an empty list.
|
public void cacheGroupsAdd(List<String> groups)
cacheGroupsAdd in interface GroupMappingServiceProvidergroups - ignoredpublic List<String> getGroups(String user)
getGroups in interface GroupMappingServiceProvideruser - ignoredpublic void cacheGroupsRefresh()
cacheGroupsRefresh in interface GroupMappingServiceProviderCopyright © 2022 Apache Software Foundation. All rights reserved.