@InterfaceAudience.Private public class SaslUtil extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SaslUtil.QualityOfProtection |
Modifier and Type | Field and Description |
---|---|
private static org.apache.commons.logging.Log |
log |
static String |
SASL_DEFAULT_REALM |
static Map<String,String> |
SASL_PROPS |
static int |
SWITCH_TO_SIMPLE_AUTH |
Constructor and Description |
---|
SaslUtil() |
Modifier and Type | Method and Description |
---|---|
(package private) static byte[] |
decodeIdentifier(String identifier) |
(package private) static String |
encodeIdentifier(byte[] identifier) |
(package private) static char[] |
encodePassword(byte[] password) |
static SaslUtil.QualityOfProtection |
getQop(String stringQop)
Returns
SaslUtil.QualityOfProtection
corresponding to the given stringQop value. |
(package private) static void |
initSaslProperties(String rpcProtection) |
static String[] |
splitKerberosName(String fullName)
Splitting fully qualified Kerberos name into parts
|
private static final org.apache.commons.logging.Log log
public static final String SASL_DEFAULT_REALM
public static final int SWITCH_TO_SIMPLE_AUTH
public static String[] splitKerberosName(String fullName)
static String encodeIdentifier(byte[] identifier)
static byte[] decodeIdentifier(String identifier)
static char[] encodePassword(byte[] password)
public static SaslUtil.QualityOfProtection getQop(String stringQop)
SaslUtil.QualityOfProtection
corresponding to the given stringQop
value. Returns null if value is
invalid.static void initSaslProperties(String rpcProtection)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.