Class RefreshUserMappingsProtocolClientSideTranslatorPB
java.lang.Object
org.apache.hadoop.security.protocolPB.RefreshUserMappingsProtocolClientSideTranslatorPB
- All Implemented Interfaces:
Closeable,AutoCloseable,ProtocolMetaInterface,RefreshUserMappingsProtocol
public class RefreshUserMappingsProtocolClientSideTranslatorPB
extends Object
implements ProtocolMetaInterface, RefreshUserMappingsProtocol, Closeable
-
Field Summary
Fields inherited from interface org.apache.hadoop.security.RefreshUserMappingsProtocol
versionID -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()booleanisMethodSupported(String methodName) Checks whether the given method name is supported by the server.voidRefresh superuser proxy group listvoidRefresh user to group mappings.
-
Constructor Details
-
RefreshUserMappingsProtocolClientSideTranslatorPB
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
refreshUserToGroupsMappings
Description copied from interface:RefreshUserMappingsProtocolRefresh user to group mappings.- Specified by:
refreshUserToGroupsMappingsin interfaceRefreshUserMappingsProtocol- Throws:
IOException- raised on errors performing I/O.
-
refreshSuperUserGroupsConfiguration
Description copied from interface:RefreshUserMappingsProtocolRefresh superuser proxy group list- Specified by:
refreshSuperUserGroupsConfigurationin interfaceRefreshUserMappingsProtocol- Throws:
IOException- raised on errors performing I/O.
-
isMethodSupported
Description copied from interface:ProtocolMetaInterfaceChecks whether the given method name is supported by the server. It is assumed that all method names are unique for a protocol.- Specified by:
isMethodSupportedin interfaceProtocolMetaInterface- Parameters:
methodName- The name of the method- Returns:
- true if method is supported, otherwise false.
- Throws:
IOException- raised on errors performing I/O.
-