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

Support preserving cookie state over a series of HTTP operations

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: Jena 2.10.1
    • Fix Version/s: Jena 2.11.0
    • Component/s: ARQ, Jena
    • Labels:

      Description

      2.10.1 makes several improvements to HTTP operation handling to support authentication on updates. However the support for both queries and updates is still only for HTTP authentication which means it cannot be used with systems that use forms based authentication e.g. Apache mod_auth_form http://httpd.apache.org/docs/2.4/mod/mod_auth_form.html

      Supporting this will require some fairly substantial reworking of the HTTP handling code for both queries and updates since it needs to support several things:

      1 - Being able to carry out a login operation to an arbitrary URL to perform the authentication and initalize the necessary cookies
      2 - Storing and presenting appropriate cookies over multiple requests

      If we are to carry out this work it may be good to standardize to using a single HTTP library, currently queries use HttpQuery (a wrapper around the JRE provided HttpURLConnection) while updates use HttpOp (a wrapper around the Apache HttpClient library)

      In doing this standardization we should also standardize how parameters are passed through these layers. For queries the QueryEngineHTTP sets properties on the HttpQuery object while for updates we pass them via a HttpContext object.

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              rvesse Rob Vesse
              Reporter:
              rvesse Rob Vesse

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

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

                  Issue deployment