public class GetUserMappingsProtocolClientSideTranslatorPB extends Object implements ProtocolMetaInterface, GetUserMappingsProtocol, Closeable
versionID| Constructor and Description |
|---|
GetUserMappingsProtocolClientSideTranslatorPB(GetUserMappingsProtocolPB rpcProxy) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
String[] |
getGroupsForUser(String user)
Get the groups which are mapped to the given user.
|
boolean |
isMethodSupported(String methodName)
Checks whether the given method name is supported by the server.
|
public GetUserMappingsProtocolClientSideTranslatorPB(GetUserMappingsProtocolPB rpcProxy)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic String[] getGroupsForUser(String user) throws IOException
GetUserMappingsProtocolgetGroupsForUser in interface GetUserMappingsProtocoluser - The user to get the groups for.IOExceptionpublic boolean isMethodSupported(String methodName) throws IOException
ProtocolMetaInterfaceisMethodSupported in interface ProtocolMetaInterfacemethodName - The name of the methodIOExceptionCopyright © 2013 Apache Software Foundation. All rights reserved.