@InterfaceAudience.Private public class SaslUtil extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SaslUtil.QualityOfProtection |
Modifier and Type | Field and Description |
---|---|
static String |
SASL_DEFAULT_REALM |
static int |
SWITCH_TO_SIMPLE_AUTH |
Constructor and Description |
---|
SaslUtil() |
Modifier and Type | Method and Description |
---|---|
static SaslUtil.QualityOfProtection |
getQop(String stringQop)
Returns
SaslUtil.QualityOfProtection
corresponding to the given stringQop value. |
static Map<String,String> |
initSaslProperties(String rpcProtection) |
static String[] |
splitKerberosName(String fullName)
Splitting fully qualified Kerberos name into parts
|
public static final String SASL_DEFAULT_REALM
public static final int SWITCH_TO_SIMPLE_AUTH
public static String[] splitKerberosName(String fullName)
public static SaslUtil.QualityOfProtection getQop(String stringQop)
SaslUtil.QualityOfProtection
corresponding to the given stringQop
value.IllegalArgumentException
- If stringQop doesn't match any QOP.Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.