public static class SecureThriftRpcClient.UgiSaslClientTransport
extends org.apache.thrift.transport.TSaslClientTransport
| Modifier and Type | Class and Description | 
|---|---|
protected static class  | 
org.apache.thrift.transport.TSaslTransport.SaslResponse  | 
protected static class  | 
org.apache.thrift.transport.TSaslTransport.SaslRole  | 
| Modifier and Type | Field and Description | 
|---|---|
protected static int | 
DEFAULT_MAX_LENGTH  | 
protected static int | 
MECHANISM_NAME_BYTES  | 
protected static int | 
PAYLOAD_LENGTH_BYTES  | 
protected static int | 
STATUS_BYTES  | 
protected org.apache.thrift.transport.TTransport | 
underlyingTransport  | 
| Constructor and Description | 
|---|
UgiSaslClientTransport(String mechanism,
                      String authorizationId,
                      String protocol,
                      String serverName,
                      Map<String,String> props,
                      CallbackHandler cbh,
                      org.apache.thrift.transport.TTransport transport,
                      PrivilegedExecutor privilegedExecutor)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
open()
Open the SASL transport with using the current UserGroupInformation. 
 | 
protected int | 
readLength()  | 
protected org.apache.thrift.transport.TSaslTransport.SaslResponse | 
receiveSaslMessage()  | 
protected org.apache.thrift.transport.TTransportException | 
sendAndThrowMessage(org.apache.thrift.transport.sasl.NegotiationStatus arg0,
                   String arg1)  | 
protected void | 
sendSaslMessage(org.apache.thrift.transport.sasl.NegotiationStatus arg0,
               byte[] arg1)  | 
protected void | 
setSaslServer(SaslServer arg0)  | 
protected void | 
writeLength(int arg0)  | 
getRole, handleSaslStartMessagecheckReadBytesAvailable, countConsumedMessageBytes, getConfiguration, getMaxMessageSize, resetConsumedMessageSize, updateKnownMessageSizeprotected static final int DEFAULT_MAX_LENGTH
protected static final int MECHANISM_NAME_BYTES
protected static final int STATUS_BYTES
protected static final int PAYLOAD_LENGTH_BYTES
protected org.apache.thrift.transport.TTransport underlyingTransport
public UgiSaslClientTransport(String mechanism, String authorizationId, String protocol, String serverName, Map<String,String> props, CallbackHandler cbh, org.apache.thrift.transport.TTransport transport, PrivilegedExecutor privilegedExecutor) throws IOException, org.apache.thrift.transport.TTransportException
IOExceptionorg.apache.thrift.transport.TTransportExceptionpublic void open()
          throws FlumeException
open in class org.apache.thrift.transport.TSaslClientTransportFlumeExceptionprotected void setSaslServer(SaslServer arg0)
protected void sendSaslMessage(org.apache.thrift.transport.sasl.NegotiationStatus arg0,
                               byte[] arg1)
                        throws org.apache.thrift.transport.TTransportException
org.apache.thrift.transport.TTransportExceptionprotected org.apache.thrift.transport.TSaslTransport.SaslResponse receiveSaslMessage()
                                                                              throws org.apache.thrift.transport.TTransportException
org.apache.thrift.transport.TTransportExceptionprotected org.apache.thrift.transport.TTransportException sendAndThrowMessage(org.apache.thrift.transport.sasl.NegotiationStatus arg0,
                                                                              String arg1)
                                                                       throws org.apache.thrift.transport.TTransportException
org.apache.thrift.transport.TTransportExceptionprotected int readLength()
                  throws org.apache.thrift.transport.TTransportException
org.apache.thrift.transport.TTransportExceptionprotected void writeLength(int arg0)
                    throws org.apache.thrift.transport.TTransportException
org.apache.thrift.transport.TTransportExceptionCopyright © 2009-2022 Apache Software Foundation. All Rights Reserved.