Class GroupsService
java.lang.Object
org.apache.hadoop.lib.server.BaseService
org.apache.hadoop.lib.service.security.GroupsService
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.hadoop.lib.server.BaseService
destroy, getPrefix, getPrefixedName, getServer, getServiceConfig, getServiceDependencies, init, postInit, serverStatusChange
-
Constructor Details
-
GroupsService
public GroupsService()
-
-
Method Details
-
init
Description copied from class:BaseServiceInitializes the server.This method is called by
BaseService.init(Server)after all service properties (properties prefixed with- Specified by:
initin classBaseService- Throws:
ServiceException- thrown if the service could not be initialized.
-
getInterface
Description copied from interface:ServiceReturns the interface implemented by this service. This interface is used theServerwhen theServer.get(Class)method is used to retrieve a service.- Specified by:
getInterfacein interfaceService- Returns:
- the interface that identifies the service.
-
getGroups
Deprecated.- Specified by:
getGroupsin interfaceGroups- Throws:
IOException
-
getGroupsSet
- Specified by:
getGroupsSetin interfaceGroups- Throws:
IOException
-
getGroupsSet(String user)