Github user laurentgo commented on a diff in the pull request: https://github.com/apache/drill/pull/578#discussion_r85801077 --- Diff: contrib/native/client/src/clientlib/drillClientImpl.hpp --- @@ -564,6 +570,34 @@ class ZookeeperImpl{ std::string m_rootDir; }; +class SaslAuthenticatorImpl { + + public: + + SaslAuthenticatorImpl(const DrillUserProperties* const properties); + + ~SaslAuthenticatorImpl(); + + int init(std::vector<std::string> mechanisms, std::string &chosenMech, + const char **out, unsigned *outlen); + + int step(const char* const in, const unsigned inlen, const char **out, unsigned *outlen) const; + + static int passwordCallback(sasl_conn_t *conn, void *context, int id, sasl_secret_t **psecret); --- End diff -- you don't need to expose the callbacks I believe
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---