public class UGIAssumingProcessor extends Object implements org.apache.thrift.TProcessor
Modifier and Type | Field and Description |
---|---|
static ThreadLocal<SaslConnectionParams.SaslMechanism> |
rpcMechanism |
static ThreadLocal<String> |
rpcPrincipal |
Constructor and Description |
---|
UGIAssumingProcessor(org.apache.thrift.TProcessor wrapped) |
Modifier and Type | Method and Description |
---|---|
static ThreadLocal<String> |
getRpcPrincipalThreadLocal() |
boolean |
process(org.apache.thrift.protocol.TProtocol inProt,
org.apache.thrift.protocol.TProtocol outProt) |
static SaslConnectionParams.SaslMechanism |
rpcMechanism() |
static String |
rpcPrincipal()
The principal of the user who authenticated over SASL.
|
public static final ThreadLocal<String> rpcPrincipal
public static final ThreadLocal<SaslConnectionParams.SaslMechanism> rpcMechanism
public UGIAssumingProcessor(org.apache.thrift.TProcessor wrapped)
public static String rpcPrincipal()
public static ThreadLocal<String> getRpcPrincipalThreadLocal()
public static SaslConnectionParams.SaslMechanism rpcMechanism()
public boolean process(org.apache.thrift.protocol.TProtocol inProt, org.apache.thrift.protocol.TProtocol outProt) throws org.apache.thrift.TException
process
in interface org.apache.thrift.TProcessor
org.apache.thrift.TException
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.