I tried both setting authority to org.apache.cassandra.auth.SimpleAuthority and AllowAllAuthority... I uncommitted the "Application logging options" in log4j-server.properties, is this enough?

Thanks,

On 11/14/2010 8:10 AM, Eric Evans wrote:
On Fri, 2010-11-12 at 17:07 -0800, Alaa Zubaidi wrote:
using SimpleAuthenticator is not working with me in beta 3

I am doing the following:

·In Cassandra.yaml Set
authenticator: org.apache.cassandra.auth.SimpleAuthenticator
·Add username and password to passwd.proprties
·Add username to keyspace and column family permission in
access.proprties
·Add the path for passwd.proprties and access.proprties to
Cassandra.bat
set CASSANDRA_PARAMS=-Dcassandra -Dcassandra-foreground=yes
-Dpasswd.properties=E:\Cassandra\Cass07b3\apache-cassandra-0.7.0-beta3
\conf\passwd.properties

-Daccess.properties=E:\Cassandra\Cass07b3\apache-cassandra-0.7.0-beta3
\conf\access.properties
Did you set authority to org.apache.cassandra.auth.SimpleAuthority?

·Use login() to login to Cassandra in the application:
Map<String, String>  creds = new HashMap<String, String>();
creds.put("user1", "pwd1");
AuthenticationRequest Auth = newAuthenticationRequest(creds);
_client.login(Auth);

its giving me an error, with no message, and if I try to do any thing
its giving me "I am not logged in" error.
Is there any thing I am missing?
Make sure to set the logging level to DEBUG; there should be something
in the logs.


--
Alaa Zubaidi
PDF Solutions, Inc.
333 West San Carlos Street, Suite 700
San Jose, CA 95110  USA
Tel: 408-283-5639 (or 408-280-7900 x5639)
fax: 408-938-6479
email: alaa.zuba...@pdf.com


Reply via email to