pubby icon indicating copy to clipboard operation
pubby copied to clipboard

Requesting Backend with Username/Password

Open ridoo opened this issue 14 years ago • 0 comments

When configuring Pubby with an Sparql endpoint which needs authentication (e.g. http://user:[email protected]/sparql) Pubby answers with

,-----------------------------

HTTP Status 500 - JenaException: Only well-formed absolute URIrefs can be included in RDF/XML output: http://<username:@:8080/parliament/sparql> Error: 37/HAS_PASSWORD in slot 6

`-----------------------------

With Pubby's current logic, RDF output should actually have URIs that have the username and password in them for all resources... ;-) So it's almost a good thing that the Jena library refuses to serialize these URIs.

It would be great if Pubby could handle URL authentication to access also Sparql endpoints within an authentication realm.

ridoo avatar Jun 28 '11 15:06 ridoo