public TProcessorFactory getAuthProcFactory ( ThriftCLIService service ) throws LoginException { if ( authTypeStr . equalsIgnoreCase ( AuthTypes . KERBEROS . getAuthName ( ) ) ) { return KerberosSaslHelper . getKerberosProcessorFactory ( saslServer , service ) ; } else { return PlainSaslHelper . getPlainProcessorFactory ( service ) ; } }
Returns the thrift processor factory for HiveServer2 running in binary mode