gora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Viju Kothuvatiparambil (JIRA)" <j...@apache.org>
Subject [jira] [Created] (GORA-376) Gora Cassandra doesn't accept user credentials for connection
Date Tue, 23 Sep 2014 01:34:34 GMT
Viju Kothuvatiparambil created GORA-376:
-------------------------------------------

             Summary: Gora Cassandra doesn't accept user credentials for connection
                 Key: GORA-376
                 URL: https://issues.apache.org/jira/browse/GORA-376
             Project: Apache Gora
          Issue Type: Bug
          Components: gora-cassandra
    Affects Versions: 0.5, 0.4, 0.3
            Reporter: Viju Kothuvatiparambil
             Fix For: 0.6


The following properties are defined in gora.properties

gora.cassandrastore.servers=host:port
gora.cassandrastore.username=username
gora.cassandrastore.password=password

Initialization method in CassandraClient.java only takes the host name, but credentials are
not passed to the constructor for CassandraHostConfigurator.

public void initialize(Class<K> keyClass, Class<T> persistentClass) throws Exception
{
....
this.cluster = HFactory.getOrCreateCluster(this.cassandraMapping.getClusterName(),
new CassandraHostConfigurator(this.cassandraMapping.getHostName()));
....
}






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message