org.apache.hadoop.hbase.security
Class HBaseSaslRpcServer
java.lang.Object
org.apache.hadoop.hbase.security.HBaseSaslRpcServer
public class HBaseSaslRpcServer
- extends Object
A utility class for dealing with SASL on RPC server
Method Summary |
static
<T extends org.apache.hadoop.security.token.TokenIdentifier>
T |
|
getIdentifier(String id,
org.apache.hadoop.security.token.SecretManager<T> secretManager)
|
static void |
init(org.apache.hadoop.conf.Configuration conf)
|
static String[] |
splitKerberosName(String fullName)
Splitting fully qualified Kerberos name into parts |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
public static final org.apache.commons.logging.Log LOG
SASL_DEFAULT_REALM
public static final String SASL_DEFAULT_REALM
- See Also:
- Constant Field Values
SASL_PROPS
public static final Map<String,String> SASL_PROPS
SWITCH_TO_SIMPLE_AUTH
public static final int SWITCH_TO_SIMPLE_AUTH
- See Also:
- Constant Field Values
HBaseSaslRpcServer
public HBaseSaslRpcServer()
init
public static void init(org.apache.hadoop.conf.Configuration conf)
getIdentifier
public static <T extends org.apache.hadoop.security.token.TokenIdentifier> T getIdentifier(String id,
org.apache.hadoop.security.token.SecretManager<T> secretManager)
throws org.apache.hadoop.security.token.SecretManager.InvalidToken
- Throws:
org.apache.hadoop.security.token.SecretManager.InvalidToken
splitKerberosName
public static String[] splitKerberosName(String fullName)
- Splitting fully qualified Kerberos name into parts
Copyright © 2015 The Apache Software Foundation. All Rights Reserved.