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

Support HTTP auth for SPARQL Update requests

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • ARQ 2.9.4
    • Jena 2.10.0
    • ARQ
    • 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-2.patch
          14 kB
          Andy Seaborne
        2. UpdateAuthExample.java
          1 kB
          Sören Brunk
        3. jena-348-1.patch
          15 kB
          Sören Brunk
        4. jena-348.patch
          11 kB
          Sören Brunk

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: