org.apache.hadoop.security
Class SaslRpcServer
java.lang.Object
org.apache.hadoop.security.SaslRpcServer
public class SaslRpcServer
- extends Object
A utility class for dealing with SASL on RPC server
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
SaslRpcServer
public SaslRpcServer()
init
public static void init(Configuration conf)
getIdentifier
public static <T extends TokenIdentifier> T getIdentifier(String id,
SecretManager<T> secretManager)
throws SecretManager.InvalidToken
- Throws:
SecretManager.InvalidToken
splitKerberosName
public static String[] splitKerberosName(String fullName)
- Splitting fully qualified Kerberos name into parts
Copyright © 2009 The Apache Software Foundation