diff options
author | Sudheesh Katkam <sudheesh@apache.org> | 2017-02-23 18:47:04 -0800 |
---|---|---|
committer | Sudheesh Katkam <sudheesh@apache.org> | 2017-02-24 20:01:18 -0800 |
commit | 3c3b08c5abbd4e9e11dadb8e97367db0c13b3243 (patch) | |
tree | d07cd92c86e351f0d8ddde71a3de9d8cdbf6b9b4 /contrib/native/client/src/include | |
parent | f9f99e08084c0016f5a3edc74b7b86b304436284 (diff) |
DRILL-4280: CORE (user to bit authentication, C++)
closes #578
Diffstat (limited to 'contrib/native/client/src/include')
-rw-r--r-- | contrib/native/client/src/include/drill/common.hpp | 3 | ||||
-rw-r--r-- | contrib/native/client/src/include/drill/drillClient.hpp | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/contrib/native/client/src/include/drill/common.hpp b/contrib/native/client/src/include/drill/common.hpp index 6d3816e7c..ed0a1ed32 100644 --- a/contrib/native/client/src/include/drill/common.hpp +++ b/contrib/native/client/src/include/drill/common.hpp @@ -166,6 +166,9 @@ typedef enum{ #define USERPROP_FILEPATH "pemLocation" // Not implemented yet #define USERPROP_FILENAME "pemFile" // Not implemented yet #define USERPROP_IMPERSONATION_TARGET "impersonation_target" +#define USERPROP_AUTH_MECHANISM "auth" +#define USERPROP_SERVICE_NAME "service_name" +#define USERPROP_SERVICE_HOST "service_host" // Bitflags to describe user properties // Used in DrillUserProperties::USER_PROPERTIES diff --git a/contrib/native/client/src/include/drill/drillClient.hpp b/contrib/native/client/src/include/drill/drillClient.hpp index 00ff72344..01c9f676f 100644 --- a/contrib/native/client/src/include/drill/drillClient.hpp +++ b/contrib/native/client/src/include/drill/drillClient.hpp @@ -80,6 +80,8 @@ class DECLSPEC_DRILL_CLIENT DrillClientConfig{ ~DrillClientConfig(); static void initLogging(const char* path); static void setLogLevel(logLevel_t l); + static void setSaslPluginPath(const char* path); + static const char* getSaslPluginPath(); static void setBufferLimit(uint64_t l); static uint64_t getBufferLimit(); static void setSocketTimeout(int32_t l); @@ -135,6 +137,8 @@ class DECLSPEC_DRILL_CLIENT DrillClientConfig{ // For future use. Currently, not enforced. static uint64_t s_bufferLimit; + static const char* s_saslPluginPath; + /** * DrillClient configures timeout (in seconds) in a fine granularity. * Disabled by setting the value to zero. |