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

Gora Cassandra doesn't accept user credentials for connection

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.3, 0.4, 0.5
    • 0.6
    • gora-cassandra

    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            vijuk Viju K
            vijuk Viju K
            Votes:
            0 Vote for this issue
            Watchers:
            4 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

                Slack

                  Issue deployment