Uploaded image for project: 'Apache Gora'
  1. Apache Gora
  2. GORA-376

Gora Cassandra doesn't accept user credentials for connection

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.3, 0.4, 0.5
    • Fix Version/s: 0.6
    • Component/s: gora-cassandra
    • Labels:

      Description

      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()));
      ....
      }

        Attachments

          Activity

            People

            • Assignee:
              vijuk Viju K
              Reporter:
              vijuk Viju K
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 48h
                48h
                Remaining:
                Remaining Estimate - 48h
                48h
                Logged:
                Time Spent - Not Specified
                Not Specified