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

Add support for HTTPClient authentication in gora-solr

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.6.1
    • gora-solr
    • None

    Description

      This is the next logical progression once GORA-260 is addressed. Security is always an issue when writing into Solr. This issue should introduce exactly that.

      Attachments

        1. GORA-262.patch
          7 kB
          Furkan Kamaci

        Issue Links

          Activity

            kamaci Furkan Kamaci added a comment -

            lewismc what kind of authentication is mentioned at this issue? Setting up credentials on SolrServer/HttpClient level (Security-Solrj) or a more generic way of security: SOLR-4470

            If you can clarify it I can implement this issue.

            kamaci Furkan Kamaci added a comment - lewismc what kind of authentication is mentioned at this issue? Setting up credentials on SolrServer/HttpClient level ( Security-Solrj ) or a more generic way of security: SOLR-4470 If you can clarify it I can implement this issue.
            lewismc Lewis John McGibbney added a comment - Hi kamaci , please see the type of authentication implemented in Apache Nutch for an example https://github.com/apache/nutch/blob/trunk/src/plugin/indexer-solr/src/java/org/apache/nutch/indexwriter/solr/SolrUtils.java#L34-L61
            kamaci Furkan Kamaci added a comment -

            There is no way to test secure HTTPClient within Solr test package with JettySolrRunner (without using reflection). It is not tested at Apache Solr project too (it can be tested via external Solr war). On the other hand ConcurrentUpdateSolrServer does not have a public accessor to get HTTPClient. I have to test it with Nutch approach before adding to patch.

            I'll create documentation for this patch.

            kamaci Furkan Kamaci added a comment - There is no way to test secure HTTPClient within Solr test package with JettySolrRunner (without using reflection). It is not tested at Apache Solr project too (it can be tested via external Solr war). On the other hand ConcurrentUpdateSolrServer does not have a public accessor to get HTTPClient. I have to test it with Nutch approach before adding to patch. I'll create documentation for this patch.

            This patch looks good. If there are no objections I'll commit by EoB today.

            lewismc Lewis John McGibbney added a comment - This patch looks good. If there are no objections I'll commit by EoB today.

            Nice fix kamaci thank you for this one

            lewismc Lewis John McGibbney added a comment - Nice fix kamaci thank you for this one
            hudson Hudson added a comment -

            SUCCESS: Integrated in gora-trunk #1509 (See https://builds.apache.org/job/gora-trunk/1509/)
            GORA-262 Add support for HTTPClient authentication in gora-solr (lewis.j.mcgibbney: rev 9540273d85d38835b651c76286e499d7aa418c16)

            • CHANGES.txt
            • gora-solr/src/test/conf/gora.properties
            • gora-solr/src/main/java/org/apache/gora/solr/store/SolrStore.java
            hudson Hudson added a comment - SUCCESS: Integrated in gora-trunk #1509 (See https://builds.apache.org/job/gora-trunk/1509/ ) GORA-262 Add support for HTTPClient authentication in gora-solr (lewis.j.mcgibbney: rev 9540273d85d38835b651c76286e499d7aa418c16) CHANGES.txt gora-solr/src/test/conf/gora.properties gora-solr/src/main/java/org/apache/gora/solr/store/SolrStore.java

            People

              kamaci Furkan Kamaci
              lewismc Lewis John McGibbney
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: