[ 
https://issues.apache.org/jira/browse/GORA-376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14147218#comment-14147218
 ] 

ASF GitHub Bot commented on GORA-376:
-------------------------------------

GitHub user vijuk opened a pull request:

    https://github.com/apache/gora/pull/10

    Fix for GORA-376: Gora Cassandra doesn't accept user credentials for 
connection

    I have documented the issue in JIRA.
    https://issues.apache.org/jira/i#browse/GORA-376
    
    As per the advice of "Lewis John McGibbney" I am creating a pull request. 
Please review the change and accept it if it looks fine.  This is my first pull 
request for Gora, so please let me know if I haven't followed any guidelines.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/vijuk/gora master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/gora/pull/10.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #10
    
----
commit d48708eca5035fb576983e99e13f89045c1006b6
Author: vijuk <vi...@users.noreply.github.com>
Date:   2014-09-25T01:15:20Z

    Fix for GORA-376: Gora Cassandra doesn't accept user credentials for 
connection

----


> 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.3, 0.4, 0.5
>            Reporter: Viju Kothuvatiparambil
>              Labels: patch
>             Fix For: 0.6
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> 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)

Reply via email to