public class CachedGroupMapping extends Object implements GroupMappingService
GroupMappingService
.GroupMappingService.Factory
Constructor and Description |
---|
CachedGroupMapping(GroupMappingService service)
Constructor with specified
GroupMappingService . |
Modifier and Type | Method and Description |
---|---|
List<String> |
getGroups(String user)
Gets a list of groups for the given user.
|
public CachedGroupMapping(GroupMappingService service)
GroupMappingService
. Initializes the cache if enabled.service
- group mapping servicepublic List<String> getGroups(String user) throws IOException
getGroups
in interface GroupMappingService
user
- user nameIOException
Copyright © 2023. All Rights Reserved.