You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gora.apache.org by "Lewis John McGibbney (JIRA)" <ji...@apache.org> on 2014/09/24 15:48:34 UTC

[jira] [Commented] (GORA-376) Gora Cassandra doesn't accept user credentials for connection

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

Lewis John McGibbney commented on GORA-376:
-------------------------------------------

[~vijuk] can you please patch this against the master branch on Github? Then simply send us a pull request? If not, then please see the top bar where it says "More" which is a drop down menu. You can then select attach patch to attach your patch. Thank you

> 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)