org.apache.hadoop.hbase.security
Class HBaseSaslRpcServer

java.lang.Object
  extended by org.apache.hadoop.hbase.security.HBaseSaslRpcServer

public class HBaseSaslRpcServer
extends Object

A utility class for dealing with SASL on RPC server


Nested Class Summary
static class HBaseSaslRpcServer.QualityOfProtection
           
static class HBaseSaslRpcServer.SaslDigestCallbackHandler
          CallbackHandler for SASL DIGEST-MD5 mechanism
static class HBaseSaslRpcServer.SaslGssCallbackHandler
          CallbackHandler for SASL GSSAPI Kerberos mechanism
 
Field Summary
static org.apache.commons.logging.Log LOG
           
 
Constructor Summary
HBaseSaslRpcServer()
           
 
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

public static final org.apache.commons.logging.Log LOG
Constructor Detail

HBaseSaslRpcServer

public HBaseSaslRpcServer()
Method Detail

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


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.