We are currently refreshing that very documentation, but in the meantime I will help you directly. You _can_ use HTTP authN with SERVICE, it's just a question of how. The most important question is, what version of Jena are you using? (The reason those links don't work is exactly because we changed this part of the code with the recent release of 3.1.1.)
--- A. Soroka The University of Virginia Library > On Nov 10, 2016, at 11:59 AM, Zak Mc Kracken <zakmc...@yahoo.it.INVALID> > wrote: > > Hello everyone, > > I need a federated SPARQL query, where the SERVICE endpoint requires basic > HTTP authentication (the one that is based on .htaccess and works by sending > user/pass to the server). > > I cannot understand if this is possible in Jena and how. Some documentation > mentions the simpler case where you authenticate against the main endpoint > (https://jena.apache.org/documentation/query/http-auth.html), does this apply > to SERVICE too? If yes, do I just need the ServiceAuthenticator? (By the way, > the link to > http://jena.apache.org/documentation/javadoc/arq/org/apache/jena/atlas/web/auth/ServiceAuthenticator.html > is broken in that page, I found it via browsing the code). > > Thanks in advance, > Marco. > >