You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by ee...@apache.org on 2010/01/19 03:12:14 UTC

svn commit: r900647 - in /incubator/cassandra/trunk/conf: access.properties authorization.properties passwd.properties storage-conf.xml

Author: eevans
Date: Tue Jan 19 02:12:13 2010
New Revision: 900647

URL: http://svn.apache.org/viewvc?rev=900647&view=rev
Log:
cleanup sample configurations

Patch by eevans

Added:
    incubator/cassandra/trunk/conf/access.properties
Removed:
    incubator/cassandra/trunk/conf/authorization.properties
Modified:
    incubator/cassandra/trunk/conf/passwd.properties
    incubator/cassandra/trunk/conf/storage-conf.xml

Added: incubator/cassandra/trunk/conf/access.properties
URL: http://svn.apache.org/viewvc/incubator/cassandra/trunk/conf/access.properties?rev=900647&view=auto
==============================================================================
--- incubator/cassandra/trunk/conf/access.properties (added)
+++ incubator/cassandra/trunk/conf/access.properties Tue Jan 19 02:12:13 2010
@@ -0,0 +1,22 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you 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
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless 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.
+#
+# This is a sample access file for SimpleAuthenticator. The format of
+# this file is keyspace=users, where users is a comma delimited list of 
+# authenticatable users from passwd.properties. This file contains 
+# potentially sensitive information, keep this in mind when setting its
+# mode and ownership.
+Keyspace1=jsmith,Elvis Presley,dilbert

Modified: incubator/cassandra/trunk/conf/passwd.properties
URL: http://svn.apache.org/viewvc/incubator/cassandra/trunk/conf/passwd.properties?rev=900647&r1=900646&r2=900647&view=diff
==============================================================================
--- incubator/cassandra/trunk/conf/passwd.properties (original)
+++ incubator/cassandra/trunk/conf/passwd.properties Tue Jan 19 02:12:13 2010
@@ -1,4 +1,23 @@
-# specify the password for each user here
-user1=hello
-user\ 2=there
-user!3=???
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you 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
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless 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.
+#
+# This is a sample password file for SimpleAuthenticator. The format of
+# this file is username=password. If -Dpasswd.mode=MD5 then the password
+# is represented as an md5 digest, otherwise it is cleartext (keep this
+# in mind when setting file mode and ownership).
+jsmith=havebadpass
+Elvis\ Presley=graceland4evar
+dilbert=nomoovertime

Modified: incubator/cassandra/trunk/conf/storage-conf.xml
URL: http://svn.apache.org/viewvc/incubator/cassandra/trunk/conf/storage-conf.xml?rev=900647&r1=900646&r2=900647&view=diff
==============================================================================
--- incubator/cassandra/trunk/conf/storage-conf.xml (original)
+++ incubator/cassandra/trunk/conf/storage-conf.xml Tue Jan 19 02:12:13 2010
@@ -119,8 +119,8 @@
    ~ as it is on the classpath.  Out of the box, Cassandra provides
    ~ org.apache.cassandra.auth.AllowAllAuthenticator and,
    ~ org.apache.cassandra.auth.SimpleAuthenticator 
-   ~ (SimpleAuthenticator uses authorization.properties and
-   ~ passwd.properties by default).
+   ~ (SimpleAuthenticator uses access.properties and passwd.properties by
+   ~ default).
    ~
    ~ If you don't specify an authenticator, AllowAllAuthenticator is used.
   -->