public class FakeKerberosAuthMethod extends RpcAuthMethod
| Modifier and Type | Class and Description |
|---|---|
static class |
FakeKerberosAuthMethod.FakeSaslClient |
static class |
FakeKerberosAuthMethod.FakeSaslClientFactory |
static class |
FakeKerberosAuthMethod.FakeSaslProvider |
authcode, authenticationMethod, mechanismName, simpleName| Modifier and Type | Method and Description |
|---|---|
SaslClient |
createSaslClient(Map<String,Object> saslProperties)
Implementors which uses SASL authentication must return
true
for isSasl() method and return and instance of
SaslClient. |
boolean |
isSasl()
false by default |
String[] |
loginModules() |
void |
write(DataOutput out)
Write to out.
|
createCallbackHandler, createSaslServer, equals, getAuthCode, getAuthenticationMethod, getAuthorizedUgi, getMechanismName, getProtocol, getServerId, getUser, hashCode, isNegotiable, isProxyAllowed, reLogin, shouldReLogin, toString, writeUGIpublic String[] loginModules()
loginModules in class RpcAuthMethodpublic void write(DataOutput out) throws IOException
write in class RpcAuthMethodIOExceptionpublic boolean isSasl()
RpcAuthMethodfalse by defaultisSasl in class RpcAuthMethodpublic SaslClient createSaslClient(Map<String,Object> saslProperties) throws IOException
RpcAuthMethodtrue
for isSasl() method and return and instance of
SaslClient.createSaslClient in class RpcAuthMethodIOExceptionCopyright © 2015 Apache Software Foundation. All Rights Reserved.