Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-348

Support HTTP auth for SPARQL Update requests

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: ARQ 2.9.4
    • Fix Version/s: Jena 2.10.0
    • Component/s: ARQ
    • Labels:
      None

      Description

      ARQ supports HTTP Basic Authentication for read queries (setBasicAuthentication() in QueryEngineHTTP).

      I can't find authentication support for SPARQL Update though. The responsible class UpdateProcessRemote uses HttpOp as an abstraction, and HttpOp in turn encapsulates HttpClient from Apache HTTP Components.
      So I guess a way to go would be to extend HttpOp to support auth or to expose the HttpClient object in order to set auth options as described in [1].

      I'm happy to help if I can get some hints about the preferred way to include auth support.

      [1] http://hc.apache.org/httpcomponents-client-ga/tutorial/html/authentication.html

        Attachments

        1. jena-348.patch
          11 kB
          Sören Brunk
        2. jena-348-1.patch
          15 kB
          Sören Brunk
        3. Jena-348-2.patch
          14 kB
          Andy Seaborne
        4. UpdateAuthExample.java
          1 kB
          Sören Brunk

          Activity

            People

            • Assignee:
              rvesse Rob Vesse
              Reporter:
              soeren.brunk Sören Brunk
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: