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.NegotiationStatus | 
| 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.TSaslTransport.NegotiationStatus arg0,
                   String arg1) | 
| protected void | sendSaslMessage(org.apache.thrift.transport.TSaslTransport.NegotiationStatus arg0,
               byte[] arg1) | 
| protected void | setSaslServer(SaslServer arg0) | 
| protected void | writeLength(int arg0) | 
getRole, handleSaslStartMessageprotected 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
IOExceptionpublic void open()
          throws FlumeException
open in class org.apache.thrift.transport.TSaslClientTransportFlumeExceptionprotected void setSaslServer(SaslServer arg0)
protected void sendSaslMessage(org.apache.thrift.transport.TSaslTransport.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.TSaslTransport.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-2017 Apache Software Foundation. All Rights Reserved.