External Authentication for Casssandra in DSE 4.7

We are trying to implement external authentication in Cassandra on DSE 4.7. Several tutorials followed in which we needed to extend the IAuthenticator class, but after that less documentation on how to integrate.

It has more to do with plug and play, where we extend the IAuthenticator class, create a jar and put it in lib (/ usr / share / dse / resources / cassandra / lib) and change the yaml file accordingly, or grab the source code from Github to build a whole tree. and then use?

        If so is Datastax Cassandra available on Github?

      

What do we need to do to create external authentication other than LDAP and Kerberos in DSE 4.7?

+3


source to share


2 answers


extend the IAuthenticator class, create a jar and put it in lib (/ usr / share / dse / resources / cassandra / lib) and modify yaml file accordingly,

^^ yes this is the right approach.

Is Datastax Cassandra available on Github?



Not really. You will see the c * version that comes with DSE in the release notes, you can check the source in the apache / cassandra github and it will match (up to and including the build number). Precise build of c * under DSE will have some critical fixes from future releases and that exact source code is not available. However, the point release in apache / cassandra is good enough for all intents and purposes.

those. have a look at https://github.com/apache/cassandra/tree/cassandra-2.1.8 for 4.7.1

+2


source


As @Mikea mentioned, we need to override ISaslAwareAuthenticator, and using Cassandra in DSE, we need to be sure of the Cassandra version and then recode to the Github assistant reputator.



0


source







All Articles