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