mirror of https://github.com/apache/cassandra
Patch by eevans; reviewed by jbellis for CASSANDRA-3299 git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1181018 13f79535-47bb-0310-9956-ffa450edef68 |
||
|---|---|---|
| .. | ||
| conf | ||
| src/org/apache/cassandra/auth | ||
| README.txt | ||
README.txt
The files in this directory provide a (simplistic) example of how to add
authentication and resource permissions to Cassandra by implementing the
org.apache.cassandra.auth.{IAuthenticator, IAuthority} interfaces.
To try those examples, copy the two JAVA sources (in src/) into the main
cassandra sources directory and the two configuration files (in conf/) in the
main cassandra configuration directory.
You can then set the authenticator and authority properties in cassandra.yaml
to use those classes. See the two configuration files access.properties and
passwd.properties to configure the authorized users and permissions.
Please note that the code in this directory is for demonstration purposes. In
particular, it does not provide a high level of security.