I am in the process of implementing the TSaslTransport in c++ (it exists in
Java). I am trying to use it with an existing TNonBlockingServer. This does
not work at all since, on the c++ side at least, the Server does not use an
external transport to do its framing but rather implements a framed protocol
internally. Among the problems this has is that it includes a state machine
(not present it TFramedTransport) which assumes things about the interactions
on the underlying transport. Among these are:
No data is read or written during the transport open call.
Can't do the Sasl authentication handshake.
Reads and writes will strictly alternate.
Sasl may send two packets before expecting a response during the
handshake.
So, has anyone tried this in Java?
Does anyone know if my above assertions about the NB server are wrong and I'm
just screwing things up somehow?
Michael Ubell
Cloudera.com