Skip to:
Add support for DSE's PLAIN and GSSAPI based authentication. The initial design uses two functions:
CassError dse_cluster_set_gssapi_authentication(DseCluster* cluster, const char* service, const char* principle); CassError dse_cluster_set_plain_authentication(DseCluster* cluster, const char* username, const char* password);
I'm not yet sure how to deal with the lifetime of the parameters passed to these functions.
Test: https://github.com/datastax/cpp-driver-dse/pull/3
Good work. This turned out nice.
I left a few minor comments in the already-merged PR.
I did not review all the test artifacts. I think Fero has been involved there.
Changes: https://github.com/datastax/cpp-driver-dse/pull/1
Add support for DSE's PLAIN and GSSAPI based authentication. The initial design uses two functions:
CassError dse_cluster_set_gssapi_authentication(DseCluster* cluster, const char* service, const char* principle); CassError dse_cluster_set_plain_authentication(DseCluster* cluster, const char* username, const char* password);
I'm not yet sure how to deal with the lifetime of the parameters passed to these functions.