{"id":20336655,"url":"https://github.com/johnyannj/cassandra-secure-plugin","last_synced_at":"2025-09-03T08:34:12.484Z","repository":{"id":38837091,"uuid":"151030863","full_name":"johnyannj/cassandra-secure-plugin","owner":"johnyannj","description":"Cassandra security authentication plug-in based on SCRAM-SHA-256 algorithm.","archived":false,"fork":false,"pushed_at":"2023-07-06T23:51:40.000Z","size":22,"stargazers_count":3,"open_issues_count":3,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-14T21:06:14.718Z","etag":null,"topics":["cassandra","java","scram","scram-sha256"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/johnyannj.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-10-01T03:10:53.000Z","updated_at":"2024-04-11T15:35:39.000Z","dependencies_parsed_at":"2022-09-11T19:50:22.152Z","dependency_job_id":null,"html_url":"https://github.com/johnyannj/cassandra-secure-plugin","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnyannj%2Fcassandra-secure-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnyannj%2Fcassandra-secure-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnyannj%2Fcassandra-secure-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnyannj%2Fcassandra-secure-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johnyannj","download_url":"https://codeload.github.com/johnyannj/cassandra-secure-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233922107,"owners_count":18751389,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cassandra","java","scram","scram-sha256"],"created_at":"2024-11-14T21:06:16.820Z","updated_at":"2025-01-14T16:46:20.920Z","avatar_url":"https://github.com/johnyannj.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cassandra Secure Plugin\n#####\nCassandra security authentication plug-in based on SCRAM-SHA-256 algorithm.\n\nRFC5802: https://tools.ietf.org/html/rfc5802\nRFC7677: https://tools.ietf.org/html/rfc7677\n\n## Compile\n`\n mvn clean package\n`\n\n## Server\n\nPut cassandra-secure-plugin-1.x.x.jar to $CASSANDRA_HOME/lib\n\nModify cassandra.yaml:  \n```\nauthenticator: com.zhaoyanblog.cassandra.server.ScramAuthenticator  \nauthorizer: CassandraAuthorizer  \nrole_manager: com.zhaoyanblog.cassandra.server.ScramRoleManager\n```\n\n## Client\n\nThe project is available on Maven Central. You can install it in your application using the following Maven dependency\n\n```\n\u003cgroupId\u003ecom.zhaoyanblog\u003c/groupId\u003e  \n\u003cartifactId\u003ecassandra-secure-plugin\u003c/artifactId\u003e  \n\u003cversion\u003e1.0.0\u003c/version\u003e\n```\nBuild Cluster with cassandra java-driver like this:\n\n```\nCluster cluster = Cluster.builder()  \n        .addContactPoint(\"127.0.0.1\")  \n        .withAuthProvider(new ScramAuthProvider(\"your username\",\"your password\"))  \n        .build();  \nSession session = cluster.connect();\n```\n# License\nCopyright 2018, zhaoyanblog.com\n\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnyannj%2Fcassandra-secure-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnyannj%2Fcassandra-secure-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnyannj%2Fcassandra-secure-plugin/lists"}