cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Cassandra Wiki] Update of "SimpleAuthenticator" by DavidBiesack
Date Tue, 26 Oct 2010 21:38:45 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for change notification.

The "SimpleAuthenticator" page has been changed by DavidBiesack.
The comment on this change is: initial content to document how the authenticator is configured..
http://wiki.apache.org/cassandra/SimpleAuthenticator

--------------------------------------------------

New page:
SimpleAuthenticator is a authenticator provided with Cassandra.
You enable it by adding
{{{
  <Authenticator>org.apache.cassandra.auth.SimpleAuthenticator</Authenticator>
}}}
in conf/storage-conf.xml. If no <Authenticator> is specified, the default
is org.apache.cassandra.auth.AllowAllAuthenticator

If you use SimpleAuthenticator you should also update
bin/cassandra.in.sh to specify additional properties which point to the
location of your authentication files.
Add the following to the JVM_OPTS  (e.g. before the -Dcom.sun.management.jmxremote.port setting):
{{{
        -Dpasswd.properties=/usr/local/apache-cassandra-0.6.6/conf/passwd.properties \
        -Daccess.properties=/usr/local/apache-cassandra-0.6.6/conf/access.properties \
}}}

(Alter the paths to the configuration files depending on where placed the files.)

See the sample passwd.properties and access.properties files in the conf directory.

Mime
View raw message