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 GroupMappingServiceProvider
groups
- ignoredpublic List<String> getGroups(String user)
getGroups
in interface GroupMappingServiceProvider
user
- ignoredpublic void cacheGroupsRefresh()
cacheGroupsRefresh
in interface GroupMappingServiceProvider
Copyright © 2008–2020 Apache Software Foundation. All rights reserved.