我正在使用datastax cassandra,我有一些关于使用JAVA的cassandra连接的查询,下面是我目前用来连接到cassandra的代码。
cluster = Cluster.builder().addContactPoint("127.0.0.1").withCredentials("cassandra", "cassandra").withPort(9042).build();
但由于这有一些安全问题,比如用户名和密码是可见的,所以我不能使用这种方法。有什么方法可以在不传递用户名和密码的情况下安全地连接
我去了一些文章,发现我们可以通过,但不能确切地做到这一点,这将是伟大的,如果任何人可以详细介绍SSL的方法
我还想知道有没有其他方法可以做到这一点
发布于 2017-03-15 05:12:59
有很多在线资源可以帮助你(不确定你使用的是dse还是社区):
http://docs.datastax.com/en/latest-dse/datastax_enterprise/sec/secTOC.html
http://www.datastax.com/dev/blog/4-simple-rules-when-using-the-datastax-drivers-for-cassandra
https://www.pythian.com/blog/cassandra-3-9-security-feature-walk/
https://www.slideshare.net/DataStax/securing-cassandra-for-compliance
https://stackoverflow.com/questions/42792937
复制相似问题