public final class KerberosSaslHelper extends Object
Modifier and Type | Method and Description |
---|---|
static org.apache.thrift.transport.TTransport |
createSubjectAssumedTransport(String principal,
org.apache.thrift.transport.TTransport underlyingTransport,
Map<String,String> saslProps) |
static org.apache.thrift.TProcessorFactory |
getKerberosProcessorFactory(HadoopThriftAuthBridge.Server saslServer,
ThriftCLIService service) |
static org.apache.thrift.transport.TTransport |
getKerberosTransport(String principal,
String host,
org.apache.thrift.transport.TTransport underlyingTransport,
Map<String,String> saslProps,
boolean assumeSubject) |
static org.apache.thrift.transport.TTransport |
getTokenTransport(String tokenStr,
String host,
org.apache.thrift.transport.TTransport underlyingTransport,
Map<String,String> saslProps) |
public static org.apache.thrift.TProcessorFactory getKerberosProcessorFactory(HadoopThriftAuthBridge.Server saslServer, ThriftCLIService service)
public static org.apache.thrift.transport.TTransport getKerberosTransport(String principal, String host, org.apache.thrift.transport.TTransport underlyingTransport, Map<String,String> saslProps, boolean assumeSubject) throws SaslException
SaslException
public static org.apache.thrift.transport.TTransport createSubjectAssumedTransport(String principal, org.apache.thrift.transport.TTransport underlyingTransport, Map<String,String> saslProps) throws IOException
IOException
public static org.apache.thrift.transport.TTransport getTokenTransport(String tokenStr, String host, org.apache.thrift.transport.TTransport underlyingTransport, Map<String,String> saslProps) throws SaslException
SaslException
Copyright © 2017 The Apache Software Foundation. All rights reserved.