You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by bu...@apache.org on 2013/07/03 18:14:31 UTC
svn commit: r868291 - in /websites/staging/jena/trunk/content: ./
documentation/query/http-auth.html
Author: buildbot
Date: Wed Jul 3 16:14:31 2013
New Revision: 868291
Log:
Staging update by buildbot for jena
Modified:
websites/staging/jena/trunk/content/ (props changed)
websites/staging/jena/trunk/content/documentation/query/http-auth.html
Propchange: websites/staging/jena/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Wed Jul 3 16:14:31 2013
@@ -1 +1 @@
-1499455
+1499458
Modified: websites/staging/jena/trunk/content/documentation/query/http-auth.html
==============================================================================
--- websites/staging/jena/trunk/content/documentation/query/http-auth.html (original)
+++ websites/staging/jena/trunk/content/documentation/query/http-auth.html Wed Jul 3 16:14:31 2013
@@ -161,7 +161,7 @@ HTTP authentication that also allows ARQ
<h3 id="authenticators">Authenticators</h3>
<p>Authentication mechanisms are provided by <a href="http://jena.apache.org/documentation/javadoc/arq/org/apache/jena/atlas/web/auth/HttpAuthenticator.html">HttpAuthenticator</a> implementations of which a number are provided built into ARQ.</p>
<p>This API provides the authenticator with access to the <code>HttpClient</code>, <code>HttpContext</code> and target <code>URI</code> of the request that is about to be carried out. This allows for authenticators
-to add credentials to requests on a pre-request basis and to use different mechanisms and credentials for different services.</p>
+to add credentials to requests on a per-request basis and/or to use different mechanisms and credentials for different services.</p>
<h4 id="simpleauthenticator">SimpleAuthenticator</h4>
<p>The <a href="http://jena.apache.org/documentation/javadoc/arq/org/apache/jena/atlas/web/auth/SimpleAuthenticator.html">simple authenticator</a> is as the name suggests the simplest implementation. It takes a single set of credentials which is applied to
any service.</p>
@@ -196,7 +196,7 @@ that allows you to configure an arbitrar
</ul>
<p>From 2.10.2 onwards the relevant factory methods include overloads that allow providing a <code>HttpAuthenticator</code> at creation time which
avoids the needs to cast and manually set the authenticator afterwards.</p>
-<h2 id="the-default-authenticator">The Default Authenticator</h2>
+<h3 id="the-default-authenticator">The Default Authenticator</h3>
<p>Since it may not always be possible/practical to configure authenticators on a per-request basis the API includes a means to specify a default authenticator
that is used when no authenticator is explicitly specified. This may be configured via the <code>setDefaultAuthenticator(HttpAuthenticator authenticator)</code>
method of the <a href="http://jena.apache.org/documentation/javadoc/arq/org/apache/jena/riot/web/HttpOp.html">HttpOp</a> class.</p>