org.apache.hadoop.hbase.security
Class SaslUtil

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

@InterfaceAudience.Private
public class SaslUtil
extends Object


Nested Class Summary
static class SaslUtil.QualityOfProtection
           
 
Field Summary
static String SASL_DEFAULT_REALM
           
static Map<String,String> SASL_PROPS
           
static int SWITCH_TO_SIMPLE_AUTH
           
 
Constructor Summary
SaslUtil()
           
 
Method Summary
static SaslUtil.QualityOfProtection getQop(String stringQop)
          Returns SaslUtil.QualityOfProtection corresponding to the given stringQop value.
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
 

Field Detail

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
Constructor Detail

SaslUtil

public SaslUtil()
Method Detail

splitKerberosName

public static String[] splitKerberosName(String fullName)
Splitting fully qualified Kerberos name into parts


getQop

public static SaslUtil.QualityOfProtection getQop(String stringQop)
Returns SaslUtil.QualityOfProtection corresponding to the given stringQop value. Returns null if value is invalid.



Copyright © 2007-2015 The Apache Software Foundation. All Rights Reserved.