You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by jb...@apache.org on 2012/03/14 05:25:54 UTC
[6/14] git commit: add environment variables to the simpleauth README
add environment variables to the simpleauth README
Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/f42ec6d5
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/f42ec6d5
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/f42ec6d5
Branch: refs/heads/cassandra-1.1.0
Commit: f42ec6d599abac9aa9a4e8cc2d1ae4a13abfa4fa
Parents: 34060fc
Author: Jonathan Ellis <jb...@apache.org>
Authored: Tue Mar 13 23:21:52 2012 -0500
Committer: Jonathan Ellis <jb...@apache.org>
Committed: Tue Mar 13 23:21:52 2012 -0500
----------------------------------------------------------------------
examples/simple_authentication/README.txt | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cassandra/blob/f42ec6d5/examples/simple_authentication/README.txt
----------------------------------------------------------------------
diff --git a/examples/simple_authentication/README.txt b/examples/simple_authentication/README.txt
index 3de5092..dcf9553 100644
--- a/examples/simple_authentication/README.txt
+++ b/examples/simple_authentication/README.txt
@@ -10,5 +10,16 @@ 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.
+When starting cassandra, you need to specify the location of the passwd.properties
+and access.properties files by adding JVM args similar to the following either
+in cassandra-env.sh or as commandline arguments:
+
+ -Dpasswd.properties=conf/passwd.properties
+ -Daccess.properties=conf/access.properties
+
+For example, you might invoke cassandra as follows:
+
+ bin/cassandra -f -Dpasswd.properties=conf/passwd.properties -Daccess.properties=conf/access.properties
+
Please note that the code in this directory is for demonstration purposes. In
particular, it does not provide a high level of security.