@InterfaceAudience.LimitedPrivate(value={"HDFS","MapReduce"}) @InterfaceStability.Evolving public class SaslRpcServer extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SaslRpcServer.AuthMethod
Authentication method
|
static class |
SaslRpcServer.QualityOfProtection |
static class |
SaslRpcServer.SaslDigestCallbackHandler
CallbackHandler for SASL DIGEST-MD5 mechanism
|
static class |
SaslRpcServer.SaslGssCallbackHandler
CallbackHandler for SASL GSSAPI Kerberos mechanism
|
Modifier and Type | Field and Description |
---|---|
SaslRpcServer.AuthMethod |
authMethod |
static org.apache.commons.logging.Log |
LOG |
String |
mechanism |
String |
protocol |
static String |
SASL_DEFAULT_REALM |
static Map<String,String> |
SASL_PROPS |
String |
serverId |
Constructor and Description |
---|
SaslRpcServer(SaslRpcServer.AuthMethod authMethod) |
Modifier and Type | Method and Description |
---|---|
SaslServer |
create(Server.Connection connection,
SecretManager<TokenIdentifier> secretManager) |
static <T extends TokenIdentifier> |
getIdentifier(String id,
SecretManager<T> secretManager) |
static void |
init(Configuration conf) |
static String[] |
splitKerberosName(String fullName)
Splitting fully qualified Kerberos name into parts
|
public static final org.apache.commons.logging.Log LOG
public static final String SASL_DEFAULT_REALM
@InterfaceAudience.Private @InterfaceStability.Unstable public SaslRpcServer.AuthMethod authMethod
public String mechanism
public String protocol
public String serverId
@InterfaceAudience.Private @InterfaceStability.Unstable public SaslRpcServer(SaslRpcServer.AuthMethod authMethod) throws IOException
IOException
@InterfaceAudience.Private @InterfaceStability.Unstable public SaslServer create(Server.Connection connection, SecretManager<TokenIdentifier> secretManager) throws IOException, InterruptedException
IOException
InterruptedException
public static void init(Configuration conf)
public static <T extends TokenIdentifier> T getIdentifier(String id, SecretManager<T> secretManager) throws SecretManager.InvalidToken
SecretManager.InvalidToken
Copyright © 2013 Apache Software Foundation. All rights reserved.