You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by bu...@apache.org on 2013/04/25 16:46:11 UTC
svn commit: r859870 [1/2] - in /websites/staging/sling/trunk/content: ./
documentation/ documentation/bundles/ documentation/development/
documentation/the-sling-engine/
documentation/the-sling-engine/authentication/
documentation/the-sling-engine/auth...
Author: buildbot
Date: Thu Apr 25 14:46:10 2013
New Revision: 859870
Log:
Staging update by buildbot for sling
Modified:
websites/staging/sling/trunk/content/ (props changed)
websites/staging/sling/trunk/content/documentation.html
websites/staging/sling/trunk/content/documentation/bundles/content-loading-jcr-contentloader.html
websites/staging/sling/trunk/content/documentation/bundles/jcr-installer-provider.html
websites/staging/sling/trunk/content/documentation/bundles/managing-users-and-groups-jackrabbit-usermanager.html
websites/staging/sling/trunk/content/documentation/bundles/manipulating-content-the-slingpostservlet-servlets-post.html
websites/staging/sling/trunk/content/documentation/bundles/mime-type-support-commons-mime.html
websites/staging/sling/trunk/content/documentation/bundles/scheduler-service-commons-scheduler.html
websites/staging/sling/trunk/content/documentation/bundles/web-console-extensions.html
websites/staging/sling/trunk/content/documentation/development/client-request-logging.html
websites/staging/sling/trunk/content/documentation/development/dependency-management.html
websites/staging/sling/trunk/content/documentation/development/embedding-sling.html
websites/staging/sling/trunk/content/documentation/development/getting-and-building-sling.html
websites/staging/sling/trunk/content/documentation/development/issue-tracker.html
websites/staging/sling/trunk/content/documentation/development/logging.html
websites/staging/sling/trunk/content/documentation/development/maven-archetypes.html
websites/staging/sling/trunk/content/documentation/development/maven-launchpad-plugin.html
websites/staging/sling/trunk/content/documentation/development/maventipsandtricks.html
websites/staging/sling/trunk/content/documentation/development/release-management.html
websites/staging/sling/trunk/content/documentation/development/repository-based-development.html
websites/staging/sling/trunk/content/documentation/development/sling.html
websites/staging/sling/trunk/content/documentation/development/version-policy.html
websites/staging/sling/trunk/content/documentation/getting-started.html
websites/staging/sling/trunk/content/documentation/the-sling-engine/authentication/authentication-actors.html
websites/staging/sling/trunk/content/documentation/the-sling-engine/authentication/authentication-authenticationhandler/form-based-authenticationhandler.html
websites/staging/sling/trunk/content/documentation/the-sling-engine/authentication/authentication-authenticationhandler/openid-authenticationhandler.html
websites/staging/sling/trunk/content/documentation/the-sling-engine/authentication/authentication-tasks.html
websites/staging/sling/trunk/content/documentation/the-sling-engine/filters.html
websites/staging/sling/trunk/content/documentation/the-sling-engine/mappings-for-resource-resolution.html
websites/staging/sling/trunk/content/documentation/the-sling-engine/request-parameters.html
websites/staging/sling/trunk/content/documentation/the-sling-engine/url-decomposition.html
websites/staging/sling/trunk/content/links.html
websites/staging/sling/trunk/content/news.html
websites/staging/sling/trunk/content/project-information.html
websites/staging/sling/trunk/content/project-information/apache-sling-community-roles-and-processes.html
websites/staging/sling/trunk/content/project-information/project-team.html
websites/staging/sling/trunk/content/project-information/security.html
Propchange: websites/staging/sling/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Thu Apr 25 14:46:10 2013
@@ -1 +1 @@
-1470853
+1475804
Modified: websites/staging/sling/trunk/content/documentation.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation.html (original)
+++ websites/staging/sling/trunk/content/documentation.html Thu Apr 25 14:46:10 2013
@@ -98,12 +98,12 @@
<li><a href="/documentation/development.html">Development</a>, how do I get and develop with Sling</li>
<li><a href="/documentation/bundles.html">Bundles</a>, which bundle delivers which features to Sling</li>
<li><a href="/documentation/tutorials-how-tos.html">Tutorials & How-Tos</a></li>
-<li><a href="">Wiki</a></li>
+<li><a href="http://cwiki.apache.org/SLING/">Wiki</a></li>
<li><a href="/documentation/configuration.html">Configuration</a></li>
-<li><a href="">API Doc</a></li>
+<li><a href="http://sling.apache.org/apidocs/sling5/index.html">API Doc</a></li>
</ul>
<h1 id="how-can-you-contribute">How can you contribute</h1>
-<p>We're on the way to improve the documentation, but it's a long way. If you would like to contribute to the documentation you are very welcome. Please directly post your proposals to the <a href="">public wiki</a> or post your suggestions to the mailing list.</p>
+<p>We're on the way to improve the documentation, but it's a long way. If you would like to contribute to the documentation you are very welcome. Please directly post your proposals to the <a href="http://cwiki.apache.org/SLING/">public wiki</a> or post your suggestions to the mailing list.</p>
<h1 id="how-is-the-documentation-generated">How is the documentation generated</h1>
<p><em>The Sling web site and documentation are managed with the <a href="https://www.apache.org/dev/cms.html">Apache CMS</a>.
For Apache Sling specific extensions see the <a href="#the-sling-site">The Sling Site</a>
@@ -284,12 +284,12 @@ and <code>build_file.pl</code> scripts t
</tr>
<tr>
<td><code>site.javadoc.exclude</code></td>
-<td>The Java packages to not include with the JavaDoc generation. By default all packages containing <code>impl</code> or <code>internal</code> in their name are excluded. To add more packages for exclusion, list them in the format suitable for the <a href=""><code>excludePackageNames</code></a> property of the Maven JavaDoc plugin. For example, to exclude any <code>jsp</code> and <code>juli</code> packages (see the <em>scripting/jsp</em> bundle), this property would be set to <code>\*.jsp:\*.juli</code>.</td>
+<td>The Java packages to not include with the JavaDoc generation. By default all packages containing <code>impl</code> or <code>internal</code> in their name are excluded. To add more packages for exclusion, list them in the format suitable for the <a href="http://maven.apache.org/plugins/maven-javadoc-plugin/javadoc-mojo.html#excludePackageNames"><code>excludePackageNames</code></a> property of the Maven JavaDoc plugin. For example, to exclude any <code>jsp</code> and <code>juli</code> packages (see the <em>scripting/jsp</em> bundle), this property would be set to <code>\*.jsp:\*.juli</code>.</td>
</tr>
</tbody>
</table>
<div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
- Rev. 1430446 by fmeschbe on Tue, 8 Jan 2013 19:05:49 +0000
+ Rev. 1475804 by dklco on Thu, 25 Apr 2013 14:45:50 +0000
</div>
<div class="trademarkFooter">
Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project
Modified: websites/staging/sling/trunk/content/documentation/bundles/content-loading-jcr-contentloader.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation/bundles/content-loading-jcr-contentloader.html (original)
+++ websites/staging/sling/trunk/content/documentation/bundles/content-loading-jcr-contentloader.html Thu Apr 25 14:46:10 2013
@@ -305,7 +305,7 @@ primary node type "nt:file". Underneath
<h3 id="json-descriptor-files">JSON Descriptor Files</h3>
-<p>Nodes, Properties and in fact complete subtrees may be described in JSON files using the following skeleton structure (see <a href="">http://www.json.org</a> or information on the syntax of JSON) :</p>
+<p>Nodes, Properties and in fact complete subtrees may be described in JSON files using the following skeleton structure (see <a href="http://www.json.org">http://www.json.org</a> or information on the syntax of JSON) :</p>
<div class="codehilite"><pre><span class="p">{</span>
<span class="sr">//</span> <span class="n">optional</span> <span class="n">node</span> <span class="n">name</span> <span class="n">on</span> <span class="n">top</span> <span class="n">level</span><span class="p">,</span> <span class="n">default</span> <span class="n">is</span> <span class="n">file</span> <span class="n">name</span> <span class="n">without</span> <span class="o">.</span><span class="n">json</span> <span class="n">ext</span><span class="o">.</span>
<span class="s">"name"</span><span class="p">:</span> <span class="s">"nodename"</span><span class="p">,</span>
@@ -374,10 +374,10 @@ Support for re-registration of node type
</div>
<h3 id="automated-tests">Automated tests</h3>
-<p>The initial content found in the <a href="">sling-test folder of the launchpad initial content</a> is verified by the <a href="http://svn.apache.org/repos/asf/sling/trunk/launchpad/testing/src/test/java/org/apache/sling/launchpad/webapp/integrationtest/InitialContentTest.java">InitialContentTest</a> when running the <em>launchpad/testing</em> integration tests.</p>
+<p>The initial content found in the <a href="http://svn.apache.org/repos/asf/sling/trunk/launchpad/content/src/main/resources/content/sling-test">sling-test folder of the launchpad initial content</a> is verified by the <a href="http://svn.apache.org/repos/asf/sling/trunk/launchpad/testing/src/test/java/org/apache/sling/launchpad/webapp/integrationtest/InitialContentTest.java">InitialContentTest</a> when running the <em>launchpad/testing</em> integration tests.</p>
<p>Those tests can be used as verified examples of initial content loading. Contributions are welcome to improve the coverage of those tests.</p>
<div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
- Rev. 1421193 by bdelacretaz on Thu, 13 Dec 2012 10:21:18 +0000
+ Rev. 1475804 by dklco on Thu, 25 Apr 2013 14:45:50 +0000
</div>
<div class="trademarkFooter">
Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project
Modified: websites/staging/sling/trunk/content/documentation/bundles/jcr-installer-provider.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation/bundles/jcr-installer-provider.html (original)
+++ websites/staging/sling/trunk/content/documentation/bundles/jcr-installer-provider.html Thu Apr 25 14:46:10 2013
@@ -97,13 +97,13 @@
<h1 id="example">Example</h1>
<p>Here's a quick walkthrough of the JCR installer functionality.</p>
<h2 id="installation">Installation</h2>
-<p>Start the Sling <a href="">launchpad/app</a> and install and start the following additional bundles:
+<p>Start the Sling <a href="http://svn.apache.org/repos/asf/sling/trunk/launchpad/app">launchpad/app</a> and install and start the following additional bundles:
<em> <a href="/old-stuff/run-modes-org-apache-sling-runmode.html">RunMode service</a>
-</em> OSGi installer service (<a href="">org.apache.sling.osgi.installer</a>)
-* JCR installer provider (<a href="">org.apache.sling.jcr.jcrinstall</a>)</p>
+</em> OSGi installer service (<a href="http://svn.apache.org/repos/asf/sling/trunk/installer/core">org.apache.sling.osgi.installer</a>)
+* JCR installer provider (<a href="http://svn.apache.org/repos/asf/sling/trunk/installer/providers/jcr">org.apache.sling.jcr.jcrinstall</a>)</p>
<p>To watch the logs produced by these modules, you can filter <code>sling/logs/error.log</code> using <code>egrep 'jcrinstall|osgi.installer'</code>.</p>
<h2 id="install-and-remove-a-bundle">Install and remove a bundle</h2>
-<p>We'll use the <a href="">Knopflerfish Desktop</a> bundle for this example, it is convenient as it displays a graphical user interface when started.</p>
+<p>We'll use the <a href="http://www.knopflerfish.org/releases/2.0.5/jars/desktop*awt/desktop*awt_all-2.0.0.jar">Knopflerfish Desktop</a> bundle for this example, it is convenient as it displays a graphical user interface when started.</p>
<p>We use <code>curl</code> to create content, to make it easy to reproduce the example by copying and pasting the <code>curl</code> commands. Any other way to create content in the repository will work, of course.</p>
<p>By default, JCRInstall picks up bundles found in folders named <em>install</em> under <code>/libs</code> and <code>/apps</code>, so we start by creating such a folder:</p>
<div class="codehilite"><pre><span class="n">curl</span> <span class="o">-</span><span class="n">X</span> <span class="n">MKCOL</span> <span class="n">http:</span><span class="sr">//</span><span class="n">admin:admin</span><span class="nv">@localhost:8888</span><span class="sr">/apps/</span><span class="n">jcrtest</span>
@@ -188,12 +188,12 @@
<h1 id="automated-tests">Automated Tests</h1>
<p>The following modules contain lots of automated tests (under <code>src/test</code>, as usual):</p>
<ul>
-<li>OSGi installer integration tests (<a href="">org.apache.sling.installer.it</a>)</li>
-<li>JCR installer service (<a href="">org.apache.sling.installer.providers.jcr</a>)</li>
+<li>OSGi installer integration tests (<a href="http://svn.apache.org/repos/asf/sling/trunk/installer/it">org.apache.sling.installer.it</a>)</li>
+<li>JCR installer service (<a href="http://svn.apache.org/repos/asf/sling/trunk/installer/providers/jcr">org.apache.sling.installer.providers.jcr</a>)</li>
</ul>
<p>Many of these tests are fairly readable, and can be used to find out in more detail how these modules work.</p>
<div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
- Rev. 1453385 by bdelacretaz on Wed, 6 Mar 2013 15:28:50 +0000
+ Rev. 1475804 by dklco on Thu, 25 Apr 2013 14:45:50 +0000
</div>
<div class="trademarkFooter">
Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project
Modified: websites/staging/sling/trunk/content/documentation/bundles/managing-users-and-groups-jackrabbit-usermanager.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation/bundles/managing-users-and-groups-jackrabbit-usermanager.html (original)
+++ websites/staging/sling/trunk/content/documentation/bundles/managing-users-and-groups-jackrabbit-usermanager.html Thu Apr 25 14:46:10 2013
@@ -245,7 +245,7 @@ The properties of a single user can be r
<h2 id="automated-tests">Automated Tests</h2>
-<p>The <a href="">launchpad/testing</a> module contains test classes for various operations of the <code>jackrabbit-usermanager</code>. Such tests run as part of our continuous integration process, to demonstrate and verify the behavior of the various operations, in a way that's guaranteed to be in sync with the actual Sling core code. If you have an idea for additional tests, make sure to let us know!</p>
+<p>The <a href="http://svn.apache.org/repos/asf/sling/trunk/launchpad/testing/src/test/java/org/apache/sling/launchpad/webapp/integrationtest/accessManager/">launchpad/testing</a> module contains test classes for various operations of the <code>jackrabbit-usermanager</code>. Such tests run as part of our continuous integration process, to demonstrate and verify the behavior of the various operations, in a way that's guaranteed to be in sync with the actual Sling core code. If you have an idea for additional tests, make sure to let us know!</p>
<h2 id="permissions-checking-from-scripts">Permissions checking from scripts</h2>
<p><em>Since Version 2.0.6</em></p>
<p>When developing scripts that will perform user or group updates, you may want to know what actions the current user is provisioned to do. This information can be used to conditionally render parts of your page differently based on the user rights.</p>
@@ -290,7 +290,7 @@ The properties of a single user can be r
<p><em>Since Version 2.1.1</em></p>
<p>A sample implementation of ui pages for user/group management is provided @ http://svn.apache.org/viewvc/sling/trunk/samples/usermanager-ui/</p>
<div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
- Rev. 1341376 by fmeschbe on Tue, 22 May 2012 09:41:06 +0000
+ Rev. 1475804 by dklco on Thu, 25 Apr 2013 14:45:50 +0000
</div>
<div class="trademarkFooter">
Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project
Modified: websites/staging/sling/trunk/content/documentation/bundles/manipulating-content-the-slingpostservlet-servlets-post.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation/bundles/manipulating-content-the-slingpostservlet-servlets-post.html (original)
+++ websites/staging/sling/trunk/content/documentation/bundles/manipulating-content-the-slingpostservlet-servlets-post.html Thu Apr 25 14:46:10 2013
@@ -1035,12 +1035,12 @@ The Accept header can be overridden (and
<h3 id="additional-post-operations">Additional POST operations</h3>
<p>OSGi services of the <code>org.apache.sling.servlets.post.PostOperation</code> type can be used to implement new POST operations.</p>
<p>Such services must have a <code>sling.post.operation</code> service registration property set to the name of the operation. This name is used as the value of the <code>:operation</code> parameter of POST requests to select the extended operation.</p>
-<p>Before version 2.1.2 of the <em>org.apache.sling.servlets.post</em> bundle, such additional operations were implemented by the <code>org.apache.sling.servlets.post.SlingPostOperation</code> interface, which is now deprecated but still supported via a bridge. See <a href="refs.https://issues.apache.org/jira/browse/SLING-1725">SLING-1725</a> for details and discussions about this change.</p>
+<p>Before version 2.1.2 of the <em>org.apache.sling.servlets.post</em> bundle, such additional operations were implemented by the <code>org.apache.sling.servlets.post.SlingPostOperation</code> interface, which is now deprecated but still supported via a bridge. See <a href="https://issues.apache.org/jira/browse/SLING-1725">SLING-1725</a> for details and discussions about this change.</p>
<p>Two examples (old and new style) of additional POST operations are found in the <a href="http://svn.apache.org/repos/asf/sling/trunk/launchpad/test-services/src/main/java/org/apache/sling/launchpad/testservices/post/">test-services</a> module, with the corresponding test code in the <a href="http://svn.apache.org/repos/asf/sling/trunk/launchpad/integration-tests/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/servlets/post/CustomPostOperationTest.java">integration-tests</a> module.</p>
<h3 id="slingpostprocessor">SlingPostProcessor</h3>
<p>TODO: document the SlingPostProcessor extension point, and related tests</p>
<div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
- Rev. 1464512 by bdelacretaz on Thu, 4 Apr 2013 13:03:31 +0000
+ Rev. 1475804 by dklco on Thu, 25 Apr 2013 14:45:50 +0000
</div>
<div class="trademarkFooter">
Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project
Modified: websites/staging/sling/trunk/content/documentation/bundles/mime-type-support-commons-mime.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation/bundles/mime-type-support-commons-mime.html (original)
+++ websites/staging/sling/trunk/content/documentation/bundles/mime-type-support-commons-mime.html Thu Apr 25 14:46:10 2013
@@ -88,7 +88,7 @@
<h1>MIME Type Support (commons.mime)</h1>
<div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
- Rev. 1341376 by fmeschbe on Tue, 22 May 2012 09:41:06 +0000
+ Rev. 1475804 by dklco on Thu, 25 Apr 2013 14:45:50 +0000
</div>
<div class="trademarkFooter">
Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project
Modified: websites/staging/sling/trunk/content/documentation/bundles/scheduler-service-commons-scheduler.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation/bundles/scheduler-service-commons-scheduler.html (original)
+++ websites/staging/sling/trunk/content/documentation/bundles/scheduler-service-commons-scheduler.html Thu Apr 25 14:46:10 2013
@@ -88,7 +88,7 @@
<h1>Scheduler Service (commons scheduler)</h1>
<p>The scheduler is a service for scheduling other services/jobs (it uses the open source Quartz library). The scheduler can be used in two ways, by registering the job through the scheduler API and by leveraging the whiteboard pattern that is supported by the scheduler.</p>
<h2 id="the-scheduler-api">The Scheduler API</h2>
-<p>The scheduler has methods to execute jobs periodically, based on a cron expression or at a given time. For more details please refer to the <a href="">javadocs</a>.</p>
+<p>The scheduler has methods to execute jobs periodically, based on a cron expression or at a given time. For more details please refer to the <a href="http://sling.apache.org/apidocs/sling6/org/apache/sling/commons/scheduler/Scheduler.html">javadocs</a>.</p>
<h2 id="examples-of-scheduled-jobs-registered-through-the-scheduler-api">Examples of scheduled jobs registered through the scheduler API</h2>
<p>The following examples show you how to define and schedule a job that is registered through the scheduler api.</p>
<h3 id="defining-the-job">Defining the job</h3>
@@ -270,7 +270,7 @@
<div class="codehilite"><pre><span class="nv">@scr</span><span class="o">.</span><span class="n">property</span> <span class="n">name</span><span class="o">=</span><span class="s">"scheduler.concurrent"</span> <span class="n">value</span><span class="o">=</span><span class="s">"false"</span> <span class="n">type</span><span class="o">=</span><span class="s">"Boolean"</span>
</pre></div>
<div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
- Rev. 1341376 by fmeschbe on Tue, 22 May 2012 09:41:06 +0000
+ Rev. 1475804 by dklco on Thu, 25 Apr 2013 14:45:50 +0000
</div>
<div class="trademarkFooter">
Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project
Modified: websites/staging/sling/trunk/content/documentation/bundles/web-console-extensions.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation/bundles/web-console-extensions.html (original)
+++ websites/staging/sling/trunk/content/documentation/bundles/web-console-extensions.html Thu Apr 25 14:46:10 2013
@@ -86,7 +86,7 @@
<h1>Web Console Extensions</h1>
- <p>The Apache Sling project provides two extensions to the <a href="">Apache Felix Web Console</a> (in addition to a number of plugins, of course):</p>
+ <p>The Apache Sling project provides two extensions to the <a href="http://felix.apache.org/site/apache-felix-web-console.html">Apache Felix Web Console</a> (in addition to a number of plugins, of course):</p>
<div class="toc">
<ul>
<li><a href="#branding-orgapacheslingextensionswebconsolebranding">Branding (org.apache.sling.extensions.webconsolebranding)</a></li>
@@ -132,7 +132,7 @@
</table>
<p>Note, that while the default value explicitly grants the <em>admin</em> user to access the Web Console it is suggested that system administrators define a special group and assign users with Web Console access to this group.</p>
<div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
- Rev. 1341376 by fmeschbe on Tue, 22 May 2012 09:41:06 +0000
+ Rev. 1475804 by dklco on Thu, 25 Apr 2013 14:45:50 +0000
</div>
<div class="trademarkFooter">
Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project
Modified: websites/staging/sling/trunk/content/documentation/development/client-request-logging.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation/development/client-request-logging.html (original)
+++ websites/staging/sling/trunk/content/documentation/development/client-request-logging.html Thu Apr 25 14:46:10 2013
@@ -207,7 +207,7 @@
</tbody>
</table>
<h4 id="log-format-specification">Log Format Specification</h4>
-<p>The log format specification follows the <a href="">definition of the <code>format</code> argument for the <code>LogFormat</code> and <code>CustomLog</code> directives of Apache httpd</a>:</p>
+<p>The log format specification follows the <a href="http://httpd.apache.org/docs/current/mod/mod_log_config.html">definition of the <code>format</code> argument for the <code>LogFormat</code> and <code>CustomLog</code> directives of Apache httpd</a>:</p>
<p>The characteristics of the request itself are logged by placing "%" directives in the format string, which are replaced in the log file by the values as follows:</p>
<table>
<thead>
@@ -377,7 +377,7 @@
<li>Optionally, you may create an <em>Apache Sling Logging Writer Configuration</em> for the log file defined in the previous step to better control rotation setup. See <a href="">Log Writer Configuration</a> for full details.</li>
</ol>
<div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
- Rev. 1341376 by fmeschbe on Tue, 22 May 2012 09:41:06 +0000
+ Rev. 1475804 by dklco on Thu, 25 Apr 2013 14:45:50 +0000
</div>
<div class="trademarkFooter">
Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project
Modified: websites/staging/sling/trunk/content/documentation/development/dependency-management.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation/development/dependency-management.html (original)
+++ websites/staging/sling/trunk/content/documentation/development/dependency-management.html Thu Apr 25 14:46:10 2013
@@ -176,11 +176,11 @@
<p>Generally there is a constant flow of releases of dependent libraries. In general this should not cause the dependency version number of a using module to be increased. There is one exception though: If the fixed library version contains a bug fix, which has an influence on the operation of the module, an increase in the version number is indicated and should also be applied.</p>
<h2 id="references">References</h2>
<ul>
-<li><a href="">Dependency ManagementLink to this message</a> -- Discussion thread about reducing Maven 2 <code>DependencyManagement</code></li>
-<li><a href="">SLING-811</a> -- The actual issue governing the changes to the project descriptors</li>
+<li><a href="http://markmail.org/message/5qpmsukdk4mdacdy">Dependency ManagementLink to this message</a> -- Discussion thread about reducing Maven 2 <code>DependencyManagement</code></li>
+<li><a href="https://issues.apache.org/jira/browse/SLING-811">SLING-811</a> -- The actual issue governing the changes to the project descriptors</li>
</ul>
<div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
- Rev. 1341376 by fmeschbe on Tue, 22 May 2012 09:41:06 +0000
+ Rev. 1475804 by dklco on Thu, 25 Apr 2013 14:45:50 +0000
</div>
<div class="trademarkFooter">
Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project
Modified: websites/staging/sling/trunk/content/documentation/development/embedding-sling.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation/development/embedding-sling.html (original)
+++ websites/staging/sling/trunk/content/documentation/development/embedding-sling.html Thu Apr 25 14:46:10 2013
@@ -86,7 +86,7 @@
<h1>Embedding Sling</h1>
- <p>The Sling Launchpad Launcher can be used to embed the OSGi Framework startup in your own Java application. This functionality is implemented in the <a href="">Sling Launchpad Base project</a>. This project has the following features:</p>
+ <p>The Sling Launchpad Launcher can be used to embed the OSGi Framework startup in your own Java application. This functionality is implemented in the <a href="http://svn.apache.org/repos/asf/sling/trunk/launchpad/base">Sling Launchpad Base project</a>. This project has the following features:</p>
<ul>
<li>Builds three artifacts:<ul>
<li>A standalone Java Application with the artifact qualifier <em>app</em>; e.g. <code>org.apache.sling.launchpad.base-2.3.1-SNAPSHOT-app.jar</code></li>
@@ -145,13 +145,13 @@
</tbody>
</table>
<h1 id="the-internal-part">The Internal Part</h1>
-<p>The main class from the internal class directly used is <a href=""><code>Sling</code></a> which instantiated to start the OSGi Framework. This class is responsible for setting up the environment to finally start the OSGi Framework:</p>
+<p>The main class from the internal class directly used is <a href="http://svn.apache.org/repos/asf/sling/trunk/launchpad/base/src/main/java/org/apache/sling/launchpad/base/impl/Sling.java"><code>Sling</code></a> which instantiated to start the OSGi Framework. This class is responsible for setting up the environment to finally start the OSGi Framework:</p>
<ul>
<li>Read the <code>sling.properties</code> file</li>
<li>Ensure the presence of the JMX MBeanServer service</li>
<li>Execute the bootstrap installations, updates and uninstallations</li>
</ul>
-<p>The <a href=""><code>SlingFelix</code></a> class extends the Apache Felix <code>Felix</code> class which is the actual OSGi framework implementation. We extend the class to be able to notify the <code>Notifiable</code> implementation and update the OSGi framework from within the OSGi framework by updating the system bundle.</p>
+<p>The <a href="http://svn.apache.org/repos/asf/sling/trunk/launchpad/base/src/main/java/org/apache/sling/launchpad/base/impl/SlingFelix.java"><code>SlingFelix</code></a> class extends the Apache Felix <code>Felix</code> class which is the actual OSGi framework implementation. We extend the class to be able to notify the <code>Notifiable</code> implementation and update the OSGi framework from within the OSGi framework by updating the system bundle.</p>
<h2 id="the-external-part">The External Part</h2>
<p>The external part is comprised of a main class started from the environment -- main class of the Java applicaction or the servlet deployed in the servlet container -- and a corresponding delegate class located inside of the launchpad base library. This delegate class is instantiated by the <code>Loader</code> loading from the <code>LauncherClassLoader</code>.</p>
<h3 id="standalone-java-application">Standalone Java Application</h3>
@@ -178,10 +178,10 @@
</tr>
</tbody>
</table>
-<p>At the moment these classes are not directly suitable to be embedded in an existing application (or custom application launcher framework) unless that embedding prepares command line arguments in a <code>String[]()</code> and calls the <code>Main.main</code> method. To allow for custom embeddings or extensions, the work distriubtions between the three classes should be refactored.</p>
+<p>At the moment these classes are not directly suitable to be embedded in an existing application (or custom application launcher framework) unless that embedding prepares command line arguments in a <code>String[]()</code> and calls the <code>Main.main</code> method. To allow for custom embeddings or extensions, the work distributions between the three classes should be refactored.</p>
<h3 id="embedding-the-standalone-java-application">Embedding the Standalone Java Application</h3>
<div class="info">
-This work is being done as part of [SLING-2225]() and will be officially available with the Sling Launchpad Base release 2.4.0. If you want to use the embedding before the release, you have to checkout the source from [SVN|http://svn.apache.org/repos/asf/sling/trunk/launchpad/base] and build yourself.
+This work is being done as part of [SLING-2225](https://issues.apache.org/jira/browse/SLING-2225) and will be officially available with the Sling Launchpad Base release 2.4.0. If you want to use the embedding before the release, you have to checkout the source from [SVN|http://svn.apache.org/repos/asf/sling/trunk/launchpad/base] and build yourself.
</div>
<p>To embedd the Sling Launcher in an application, the <code>Main</code> class is extended from. To manage the launcher, the following API is available:</p>
@@ -323,7 +323,7 @@ This work is being done as part of [SLIN
</table>
<p>At the moment these classes, particularly the <code>SlingServlet</code> class, are not particularly well suited to be extended by a servlet slightly modifying the launcher.</p>
<div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
- Rev. 1464512 by bdelacretaz on Thu, 4 Apr 2013 13:03:31 +0000
+ Rev. 1475804 by dklco on Thu, 25 Apr 2013 14:45:50 +0000
</div>
<div class="trademarkFooter">
Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project
Modified: websites/staging/sling/trunk/content/documentation/development/getting-and-building-sling.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation/development/getting-and-building-sling.html (original)
+++ websites/staging/sling/trunk/content/documentation/development/getting-and-building-sling.html Thu Apr 25 14:46:10 2013
@@ -150,7 +150,7 @@
</ol>
<h3 id="with-eclipse-subversive-or-subclipse">With Eclipse Subversive or Subclipse</h3>
<p>First note how simple the above SVN instructions are...but if you <em>really</em> want to do this, read on.</p>
-<p>If you use the Subversive plugin make sure you have installed the "Subversive Integration for M2Eclipse Project" which can be found under the following Eclipse update site: <a href="">http://community.polarion.com/projects/subversive/download/integrations/update-site/</a>.</p>
+<p>If you use the Subversive plugin make sure you have installed the "Subversive Integration for M2Eclipse Project" which can be found under the following Eclipse update site: <a href="http://community.polarion.com/projects/subversive/download/integrations/update-site/">http://community.polarion.com/projects/subversive/download/integrations/update-site/</a>.</p>
<p>Also, make sure that you have installed either the "Maven SCM handler for Subclipse" or the "Maven SCM handler for Subversive".</p>
<h4 id="create-a-new-workspace">Create a new workspace</h4>
<p>It's best to create a new workspace for the sling project:</p>
@@ -271,11 +271,11 @@ For more information on this see the <a
<li>Choose File/Import in Eclipse and select "Existing projects into workspace"</li>
<li>Now you can create, edit and compile the files in Eclipse</li>
<li>To create the bundle jar and install it, just use the command line "mvn clean install" in the project directory</li>
-<li>If you have a running Sling app you can install the bundle from the command line with "mvn -P autoInstallBundle clean install -Dsling.url=<a href="">http://localhost:8080/system/console</a>"</li>
+<li>If you have a running Sling app you can install the bundle from the command line with "mvn -P autoInstallBundle clean install -Dsling.url=http://localhost:8080/system/console"</li>
</ul>
<p>If adding dependencies to the poms, run mvn eclipse:eclipse again and refresh the project in Eclipse. Debugging works as described above.</p>
<div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
- Rev. 1436447 by ieb on Mon, 21 Jan 2013 16:12:18 +0000
+ Rev. 1475804 by dklco on Thu, 25 Apr 2013 14:45:50 +0000
</div>
<div class="trademarkFooter">
Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project
Modified: websites/staging/sling/trunk/content/documentation/development/issue-tracker.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation/development/issue-tracker.html (original)
+++ websites/staging/sling/trunk/content/documentation/development/issue-tracker.html Thu Apr 25 14:46:10 2013
@@ -87,7 +87,7 @@
<h1>Issue Tracker</h1>
<p>Apache Sling uses Jira for tracking bug reports and requests for improvements, new features, and other changes.</p>
-<p>The issue tracker is available at https://issues.apache.org/jira/browse/SLING and is readable by everyone. A Jira account is needed to create new issues and to comment on existing issues. Use the <a href="">registration form</a> to request an account if you do not already have one.</p>
+<p>The issue tracker is available at https://issues.apache.org/jira/browse/SLING and is readable by everyone. A Jira account is needed to create new issues and to comment on existing issues. Use the <a href="https://issues.apache.org/jira/secure/Signup!default.jspa">registration form</a> to request an account if you do not already have one.</p>
<p>See below for guidelines on creating and managing issues.</p>
<h2 id="issue-type">Issue type</h2>
<p>When creating a new issue, select the issue type based as follows:</p>
@@ -208,7 +208,7 @@
<h2 id="patches">Patches</h2>
<p>When reporting a bug, requesting a feature or propose an improvement, it is a good thing to attach a patch to the issue. This may speed up issue processing and helps you being recognized as a good community member leading to closer involvement with Sling.</p>
<div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
- Rev. 1341376 by fmeschbe on Tue, 22 May 2012 09:41:06 +0000
+ Rev. 1475804 by dklco on Thu, 25 Apr 2013 14:45:50 +0000
</div>
<div class="trademarkFooter">
Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project
Modified: websites/staging/sling/trunk/content/documentation/development/logging.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation/development/logging.html (original)
+++ websites/staging/sling/trunk/content/documentation/development/logging.html Thu Apr 25 14:46:10 2013
@@ -93,10 +93,10 @@
<li>Exports three commonly used logging APIs:
<strong> <a href="">Simple Logging Facade for Java (SLF4J)</a>
<br />
-</strong> <a href="">Apache Commons Logging</a>
- <strong> <a href="">log4j</a>
+</strong> <a href="http://jakarta.apache.org/commons/logging">Apache Commons Logging</a>
+ <strong> <a href="http://logging.apache.org/log4j/index.html">log4j</a>
<br />
-</strong> <a href="">java.util.logging</a> (as of r1169918)</li>
+</strong> <a href="http://download.oracle.com/javase/6/docs/api/java/util/logging/package-summary.html">java.util.logging</a> (as of r1169918)</li>
<li>Configures logging through our own implementation of the SLF4J backend API</li>
</ul>
<h2 id="initial-configuration">Initial Configuration</h2>
@@ -268,7 +268,7 @@
<p>Log file rotation by size is specified by setting the <code>org.apache.sling.commons.log.file.size</code> property to a plain number or a number plus a size multiplier. The size multiplier may be any of <code>K</code>, <code>KB</code>, <code>M</code>, <code>MB</code>, <code>G</code>, or <code>GB</code> where the case is ignored and the meaning is probably obvious.</p>
<p>When using Size Rotation, the <code>org.apache.sling.commons.log.file.number</code> defines the number of old log file generations to keep. For example to keep 5 old log files indexed by 0 through 4, set the <code>org.apache.sling.commons.log.file.number</code> to <code>5</code> (which happens to be the default).</p>
<div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
- Rev. 1341376 by fmeschbe on Tue, 22 May 2012 09:41:06 +0000
+ Rev. 1475804 by dklco on Thu, 25 Apr 2013 14:45:50 +0000
</div>
<div class="trademarkFooter">
Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project
Modified: websites/staging/sling/trunk/content/documentation/development/maven-archetypes.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation/development/maven-archetypes.html (original)
+++ websites/staging/sling/trunk/content/documentation/development/maven-archetypes.html Thu Apr 25 14:46:10 2013
@@ -86,7 +86,7 @@
<h1>Maven Archetypes</h1>
- <p>Sling includes four Maven archetypes to quick start development. See <a href="">http://maven.apache.org/archetype/maven-archetype-plugin/</a> for general information on using Maven archetypes. The Maven groupId for all Sling archetypes is <code>org.apache.sling</code>.</p>
+ <p>Sling includes four Maven archetypes to quick start development. See <a href="http://maven.apache.org/archetype/maven-archetype-plugin/">http://maven.apache.org/archetype/maven-archetype-plugin/</a> for general information on using Maven archetypes. The Maven groupId for all Sling archetypes is <code>org.apache.sling</code>.</p>
<h3 id="sling-launchpad-standalone-archetype">sling-launchpad-standalone-archetype</h3>
<p>This archetype generates a Maven project which will build a standalone Launchpad JAR file using the default bundle set. For demonstration purposes, the generated project includes an extra bundle list file (<code>src/main/bundles/list</code>) which includes Apache Felix FileInstall as well as a test configuration file (<code>src/test/config/sling.properties</code>).</p>
<h3 id="sling-launchpad-webapp-archetype">sling-launchpad-webapp-archetype</h3>
@@ -100,7 +100,7 @@
<h3 id="sling-jcrinstall-bundle-archetype">sling-jcrinstall-bundle-archetype</h3>
<p>This archetype generates a Maven project which will build a basic OSGi bundle including support for the Felix SCR Annotations. It is pre-configured to install using a WebDAV PUT into the JCR when the profile <code>autoInstallBundle</code> is activated.</p>
<div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
- Rev. 1341376 by fmeschbe on Tue, 22 May 2012 09:41:06 +0000
+ Rev. 1475804 by dklco on Thu, 25 Apr 2013 14:45:50 +0000
</div>
<div class="trademarkFooter">
Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project
Modified: websites/staging/sling/trunk/content/documentation/development/maven-launchpad-plugin.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation/development/maven-launchpad-plugin.html (original)
+++ websites/staging/sling/trunk/content/documentation/development/maven-launchpad-plugin.html Thu Apr 25 14:46:10 2013
@@ -91,8 +91,8 @@
</em> A standalone Java application, with HTTP support from the Felix HttpService implementation
* Inside Apache Karaf</p>
<p>In addition, the Maven Launchpad Plugin supports the publishing of an application descriptor, in the form of a <em>bundle list</em>, as a Maven artifact. This descriptor can then be used by downstream application builders as the basis for other applications. In Sling, this is embodied by two Maven projects:
-<em> <a href="">org.apache.sling.launchpad</a> - produces an application descriptor.
-</em> <a href="">org.apache.sling.launchpad.testing</a> - uses the application descriptor from <code>org.apache.sling.launchpad</code> and adds two bundles.</p>
+<em> <a href="http://svn.apache.org/repos/asf/sling/trunk/launchpad/builder">org.apache.sling.launchpad</a> - produces an application descriptor.
+</em> <a href="http://svn.apache.org/repos/asf/sling/trunk/launchpad/builder/testing">org.apache.sling.launchpad.testing</a> - uses the application descriptor from <code>org.apache.sling.launchpad</code> and adds two bundles.</p>
<p>Maven Launchpad Plugin provides the following goals:
| Goals | Description |
|--|--|
@@ -206,14 +206,14 @@
<h2 id="integration-testing">Integration Testing</h2>
<p>For integration testing examples, see <code>/samples/inplace-integration-test</code> and <code>launchpad/testing</code> in the Sling source tree.</p>
<h2 id="bundle-list-rewriting">Bundle List Rewriting</h2>
-<p>The Maven Launchpad Plugin supports the use of rules to rewrite the bundle list. These rules are executed by the <a href="">Drools</a> rule engine. Typically, this is used along with Maven profiles. For example, Sling's testing project includes a profile called <code>test-reactor-sling-bundles</code>. When activated, this profile runs a Drools rule file which scans the project list from the Maven reactor and modifies the version number for bundles which were contained within the reactor.</p>
+<p>The Maven Launchpad Plugin supports the use of rules to rewrite the bundle list. These rules are executed by the <a href="http://www.jboss.org/drools">Drools</a> rule engine. Typically, this is used along with Maven profiles. For example, Sling's testing project includes a profile called <code>test-reactor-sling-bundles</code>. When activated, this profile runs a Drools rule file which scans the project list from the Maven reactor and modifies the version number for bundles which were contained within the reactor.</p>
<p>In order for rules to interact with the Maven build, the following global variables are made available:</p>
<ul>
<li><code>mavenSession</code> - an instance of <code>org.apache.maven.execution.MavenSession</code>.</li>
<li><code>mavenProject</code> - an instance of <code>org.apache.maven.project.MavenProject</code>.</li>
</ul>
<div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
- Rev. 1341376 by fmeschbe on Tue, 22 May 2012 09:41:06 +0000
+ Rev. 1475804 by dklco on Thu, 25 Apr 2013 14:45:50 +0000
</div>
<div class="trademarkFooter">
Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project
Modified: websites/staging/sling/trunk/content/documentation/development/maventipsandtricks.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation/development/maventipsandtricks.html (original)
+++ websites/staging/sling/trunk/content/documentation/development/maventipsandtricks.html Thu Apr 25 14:46:10 2013
@@ -86,7 +86,7 @@
<h1>MavenTipsAndTricks</h1>
- <p>Here's our collection of tips and tricks for building Sling with <a href="">Maven</a>.</p>
+ <p>Here's our collection of tips and tricks for building Sling with <a href="http://maven.apache.org">Maven</a>.</p>
<h1 id="maven-local-repository">Maven local repository</h1>
<p>The first time you run a Maven build, or when Maven needs additional build components, it downloads plugins and dependencies under its <em>local repository</em> folder on your computer. By default, this folder is named <em>.m2/repository</em> in your home directory.</p>
<p>Maven uses this repository as a cache for artifacts that it might need for future builds, which means that the first Sling build usually takes much longer than usual, as Maven needs to download many tools and dependencies into its local repository while the build progresses.</p>
@@ -126,7 +126,7 @@ Does anyone have a similar command-line
<h2 id="avoid-spaces-in-maven-repository-and-workspace-paths">Avoid spaces in Maven repository and workspace paths</h2>
<p>Some Maven plugins do not like spaces in paths. It is better to avoid putting your Maven repository, or your code, under paths like <em>Documents and Settings</em>, for example.</p>
<div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
- Rev. 1464512 by bdelacretaz on Thu, 4 Apr 2013 13:03:31 +0000
+ Rev. 1475804 by dklco on Thu, 25 Apr 2013 14:45:50 +0000
</div>
<div class="trademarkFooter">
Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project
Modified: websites/staging/sling/trunk/content/documentation/development/release-management.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation/development/release-management.html (original)
+++ websites/staging/sling/trunk/content/documentation/development/release-management.html Thu Apr 25 14:46:10 2013
@@ -86,7 +86,7 @@
<h1>Release Management</h1>
- <p>Sling releases (and SNAPSHOTS) are deployed to the <a href="">Nexus repository</a> instead of the traditional deployment via the Maven 2 mirros source on <code>people.apache.org</code>. This makes the release process much leaner and simpler. In addtion we can benefit from the Apache Parent POM 6, which has most of the release profile setup built-in.</p>
+ <p>Sling releases (and SNAPSHOTS) are deployed to the <a href="http://repository.apache.org">Nexus repository</a> instead of the traditional deployment via the Maven 2 mirrors source on <code>people.apache.org</code>. This makes the release process much leaner and simpler. In addtion we can benefit from the Apache Parent POM 6, which has most of the release profile setup built-in.</p>
<p>Most of the hard work of preparing and deploying the release is done by Maven.</p>
<div class="toc">
<ul>
@@ -106,11 +106,11 @@
<h2 id="prerequisites">Prerequisites</h2>
<ul>
<li>To prepare or perform a release you <em>MUST BE</em> at least be an Apache Sling Committer.</li>
-<li>Each and every release must be signed; therefore the public key should be cross signed by other Apache committers (not required but suggested) and this public key should be added to <a href="">http://www.apache.org/dist/sling/KEYS</a> and either on pool.sks-keyservers.net or pgp.mit.edu (See Appendix A)</li>
+<li>Each and every release must be signed; therefore the public key should be cross signed by other Apache committers (not required but suggested) and this public key should be added to <a href="http://www.apache.org/dist/sling/KEYS">http://www.apache.org/dist/sling/KEYS</a> and either on pool.sks-keyservers.net or pgp.mit.edu (See Appendix A)</li>
<li>When preparing the release on Mac OS X, check out Appendix B before trying the steps in the next chapter.</li>
-<li>Make sure you have all Apache servers defined in your <a href="">settings.xml</a></li>
+<li>Make sure you have all Apache servers defined in your <a href="http://maven.apache.org/developers/committer-settings.html">settings.xml</a></li>
</ul>
-<p><em>Note</em>: Listing the Apache servers in the <code>settings.xml</code> file also requires adding the password to that file. Starting with Maven 2.1 this password may be encrypted and needs not be give in plaintext. Please refer to <a href="">Password Encryption</a> for more information.</p>
+<p><em>Note</em>: Listing the Apache servers in the <code>settings.xml</code> file also requires adding the password to that file. Starting with Maven 2.1 this password may be encrypted and needs not be give in plaintext. Please refer to <a href="http://maven.apache.org/guides/mini/guide-encryption.html">Password Encryption</a> for more information.</p>
<p>In the past we staged release candidates on our local machines using a semi-manual process. Now that we inherit from the Apache parent POM version 6, a repository manager will automatically handle staging for you. This means you now only need to specify your GPG passphrase in the release profile of your <code>$\{user.home\}/.m2/settings.xml</code>:</p>
<div class="codehilite"><pre><span class="nt"><settings></span>
...
@@ -163,12 +163,12 @@
</li>
<li>
<ul>
-<li>Be sure that the generated artifacts respect the Apache release <a href="">rules</a>: NOTICE and LICENSE files should be present in the META-INF directory within the jar. For -sources artifacts, be sure that your POM does not use the maven-source-plugin:2.0.3 which is broken. The recommended version at this time is 2.0.4</li>
+<li>Be sure that the generated artifacts respect the Apache release <a href="http://www.apache.org/dev/release.html">rules</a>: NOTICE and LICENSE files should be present in the META-INF directory within the jar. For -sources artifacts, be sure that your POM does not use the maven-source-plugin:2.0.3 which is broken. The recommended version at this time is 2.0.4</li>
</ul>
</li>
<li>
<ul>
-<li>You should verify the deployment under the <a href="">snapshot</a> repository on Apache</li>
+<li>You should verify the deployment under the <a href="https://repository.apache.org/content/groups/snapshots/org/apache/sling">snapshot</a> repository on Apache</li>
</ul>
</li>
<li>
@@ -192,7 +192,7 @@ $ mvn release:prepare</p>
</li>
<li>
<ul>
-<li>The release will automatically be inserted into a temporary staging repository for you, see the Nexus <a href="">staging documentation</a> for full details</li>
+<li>The release will automatically be inserted into a temporary staging repository for you, see the Nexus <a href="http://www.sonatype.com/books/nexus-book/reference/staging.html">staging documentation</a> for full details</li>
</ul>
</li>
<li>
@@ -203,7 +203,7 @@ $ mvn release:prepare</p>
<li>Close the staging repository</li>
<li>
<ul>
-<li>Login to <a href="">https://repository.apache.org</a> using your Apache SVN credentials. Click on <em>Staging</em> on the left. Then click on <em>org.apache.sling</em> in the list of repositories. In the panel below you should see an open repository that is linked to your username and IP. Right click on this repository and select <em>Close</em>. This will close the repository from future deployments and make it available for others to view. If you are staging multiple releases together, skip this step until you have staged everything</li>
+<li>Login to <a href="https://repository.apache.org">https://repository.apache.org</a> using your Apache SVN credentials. Click on <em>Staging</em> on the left. Then click on <em>org.apache.sling</em> in the list of repositories. In the panel below you should see an open repository that is linked to your username and IP. Right click on this repository and select <em>Close</em>. This will close the repository from future deployments and make it available for others to view. If you are staging multiple releases together, skip this step until you have staged everything</li>
</ul>
</li>
<li>Verify the staged artifacts</li>
@@ -251,7 +251,7 @@ $ mvn release:prepare</p>
<h2 id="wait-for-the-results">Wait for the Results</h2>
-<p>From <a href="">Votes on Package Releases</a>:</p>
+<p>From <a href="http://www.apache.org/foundation/voting.html">Votes on Package Releases</a>:</p>
<p>{quote}Votes on whether a package is ready to be released follow a format similar to majority approval -- except that the decision is officially determined solely by whether at least three +1 votes were registered. Releases may not be vetoed. Generally the community will table the vote to release if anyone identifies serious problems, but in most cases the ultimate decision, once three or more positive votes have been garnered, lies with the individual serving as release manager. The specifics of the process may vary from project to project, but the 'minimum of three +1 votes' rule is universal.{quote}</p>
<p>The list of binding voters is available on the <a href="/project-information/project-team.html">Project Team</a> page.</p>
<p>If the vote is successful, post the result to the dev list - for example:</p>
@@ -277,15 +277,15 @@ $ mvn release:prepare</p>
<p>If the vote fails, or you decide to redo the release:</p>
<ol>
<li>Remove the release tag from Subversion (<code>svn del ...</code>)</li>
-<li>Login to <a href="">https://repository.apache.org</a> using your Apache SVN credentials. Click on <em>Staging</em> on the left. Then click on <em>org.apache.sling</em> in the list of repositories. In the panel below you should see a closed repository that is linked to your username and IP (if it's not yet closed you need to right click and select <em>Close</em>). Right click on this repository and select <em>Drop</em>.</li>
+<li>Login to <a href="https://repository.apache.org">https://repository.apache.org</a> using your Apache SVN credentials. Click on <em>Staging</em> on the left. Then click on <em>org.apache.sling</em> in the list of repositories. In the panel below you should see a closed repository that is linked to your username and IP (if it's not yet closed you need to right click and select <em>Close</em>). Right click on this repository and select <em>Drop</em>.</li>
<li>Rollback the version in the <code>pom.xml</code> and commit any fixes you need to make</li>
</ol>
<h2 id="promoting-the-release">Promoting the Release</h2>
<p>If the vote passes:</p>
<ol>
-<li>Copy the released artifacts to the Sling dist directory (<code>/x1/www/www.apache.org/dist/sling</code>) on <code>people.apache.org</code>. This folder is replicated to <a href="">http://www.apache.org/dist/sling/</a> a few times a day.</li>
+<li>Copy the released artifacts to the Sling dist directory (<code>/x1/www/www.apache.org/dist/sling</code>) on <code>people.apache.org</code>. This folder is replicated to <a href="http://www.apache.org/dist/sling/">http://www.apache.org/dist/sling/</a> a few times a day.</li>
<li>Delete the old release from the Sling dist directory (it's archived)</li>
-<li>Login to <a href="">https://repository.apache.org</a> with your Apache SVN credentials. Click on <em>Staging</em>. Find your closed staging repository and select it by checking the select box. Select the <em>Releases</em> repository from the drop-down list and click <em>Release</em> from the menu above.</li>
+<li>Login to <a href="https://repository.apache.org">https://repository.apache.org</a> with your Apache SVN credentials. Click on <em>Staging</em>. Find your closed staging repository and select it by checking the select box. Select the <em>Releases</em> repository from the drop-down list and click <em>Release</em> from the menu above.</li>
<li>Once the release is promoted click on <em>Repositories</em>, select the <em>Releases</em> repository and validate that your artifacts are all there.</li>
<li>If you're releasing bundles, you should also add them to the Sling Release OBR (see <em>Appendix C</em>).</li>
<li>Update the news section on the website at <a href="/news.html">news</a>.</li>
@@ -293,7 +293,7 @@ $ mvn release:prepare</p>
</ol>
<p>For the last two tasks, it's better to give the mirrors some time to distribute the uploaded artifacts (one day should be fine). This ensures that once the website (news and download page) is updated, people can actually download the artifacts.</p>
<h2 id="update-jira">Update JIRA</h2>
-<p>Go to <a href="">Manage Versions</a> section on the SLING JIRA and mark the X.Y.Z version as released setting the release date to the date the vote has been closed.</p>
+<p>Go to <a href="https://issues.apache.org/jira/plugins/servlet/project-config/SLING/versions">Manage Versions</a> section on the SLING JIRA and mark the X.Y.Z version as released setting the release date to the date the vote has been closed.</p>
<p>Also create a new version X.Y.Z+2, if that hasn't already been done.</p>
<h2 id="create-an-announcement">Create an Announcement</h2>
<div class="codehilite"><pre>To: "Sling Developers List" <span class="nt"><dev</span><span class="err">@sling.apache.org</span><span class="nt">></span>, "Apache Announcements" <span class="nt"><announce</span><span class="err">@apache.org</span><span class="nt">></span>
@@ -325,13 +325,13 @@ Enjoy!
</pre></div>
-<p><em>Important</em>: Add the release to the Software section of the next board report below <a href="">Reports</a>.</p>
+<p><em>Important</em>: Add the release to the Software section of the next board report below <a href="https://cwiki.apache.org/confluence/display/SLING/Reports">Reports</a>.</p>
<h2 id="related-links">Related Links</h2>
<ol>
-<li><a href="">http://www.apache.org/dev/release-signing.html</a></li>
-<li><a href="">http://wiki.apache.org/incubator/SigningReleases</a></li>
+<li><a href="http://www.apache.org/dev/release-signing.html">http://www.apache.org/dev/release-signing.html</a></li>
+<li><a href="http://wiki.apache.org/incubator/SigningReleases">http://wiki.apache.org/incubator/SigningReleases</a></li>
</ol>
-<h2 id="appendix-a-create-and-add-your-key-to-httpwwwapacheorgdistslingkeys">Appendix A: Create and Add your key to <a href="">http://www.apache.org/dist/sling/KEYS</a></h2>
+<h2 id="appendix-a-create-and-add-your-key-to-httpwwwapacheorgdistslingkeys">Appendix A: Create and Add your key to <a href="http://www.apache.org/dist/sling/KEYS">http://www.apache.org/dist/sling/KEYS</a></h2>
<p>Considering that you are using a *nix system with a working OpenSSH, GnuPG, and bash you can create and add your own key with the following command:</p>
<ol>
<li>
@@ -341,7 +341,7 @@ Enjoy!
</ol>
<p>When gpg asks for e-mail linked the key you <em>MUST USE</em> the <committer>@apache.org one
When gpg asks for comment linked the key you <em>SHOULD USE</em> "CODE SIGNING KEY"
-1. <em>Add the key to</em> <a href="">http://www.apache.org/dist/sling/KEYS:</a> type the following command replacing the word e-mail with your Apache's one (<committer>@apache.org).</p>
+1. <em>Add the key to</em> <a href="http://www.apache.org/dist/sling/KEYS">http://www.apache.org/dist/sling/KEYS</a> type the following command replacing the word e-mail with your Apache's one (<committer>@apache.org).</p>
<div class="codehilite"><pre><span class="nv">$</span> <span class="err">(</span><span class="nv">gpg</span> <span class="o">--</span><span class="n">list</span><span class="o">-</span><span class="n">sigs</span> <span class="n">e</span><span class="o">-</span><span class="n">mail</span> <span class="o">&&</span> <span class="n">gpg</span> <span class="o">--</span><span class="n">export</span> <span class="o">--</span><span class="n">armor</span> <span class="n">e</span><span class="o">-</span><span class="n">mail</span><span class="p">)</span> <span class="o">></span> <span class="n">toadd</span><span class="o">.</span><span class="n">key</span>
<span class="nv">$</span> <span class="nv">scp</span> <span class="n">toadd</span><span class="o">.</span><span class="n">key</span> <span class="n">people</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">org:</span>
<span class="nv">$</span> <span class="nv">ssh</span> <span class="n">people</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">org</span> <span class="s">"cat toadd.key >> /x1/www/www.apache.org/dist/sling/KEYS"</span>
@@ -349,7 +349,7 @@ When gpg asks for comment linked the key
<ol>
-<li>You are <em>DONE</em>, but to see the changes on <a href="">http://www.apache.org/dist/sling/KEYS</a> you must wait 2 hours</li>
+<li>You are <em>DONE</em>, but to see the changes on <a href="http://www.apache.org/dist/sling/KEYS">http://www.apache.org/dist/sling/KEYS</a> you must wait 2 hours</li>
</ol>
<p>You also have to add your public key either on pool.sks-keyservers.net or pgp.mit.edu (for the statging repository).</p>
<h2 id="appendix-b-preparing-releases-on-mac-os-x">Appendix B: preparing releases on Mac OS X</h2>
@@ -426,7 +426,7 @@ $ rm the<em>module-version.jar the</em>m
<div class="codehilite"><pre><span class="n">After</span> <span class="n">updating</span> <span class="n">the</span> <span class="n">site</span> <span class="n">source</span> <span class="n">it</span> <span class="n">will</span> <span class="n">generally</span> <span class="n">take</span> <span class="n">an</span> <span class="n">hour</span> <span class="ow">or</span> <span class="n">two</span> <span class="k">until</span> <span class="n">the</span> <span class="n">changes</span> <span class="n">are</span> <span class="n">visible</span> <span class="n">on</span> <span class="n">the</span> <span class="n">web</span><span class="o">.</span>
</pre></div>
<div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
- Rev. 1341376 by fmeschbe on Tue, 22 May 2012 09:41:06 +0000
+ Rev. 1475804 by dklco on Thu, 25 Apr 2013 14:45:50 +0000
</div>
<div class="trademarkFooter">
Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project
Modified: websites/staging/sling/trunk/content/documentation/development/repository-based-development.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation/development/repository-based-development.html (original)
+++ websites/staging/sling/trunk/content/documentation/development/repository-based-development.html Thu Apr 25 14:46:10 2013
@@ -103,7 +103,7 @@
</ul>
</div>
<h2 id="webdav-support">WebDAV Support</h2>
-<p>WebDAV support in Sling is based on the <a href="">Simple WebDAV</a> implementation of Apache Jackrabbit which is integrated in the <code>jcr/webdav</code> project. This bundle provides WebDAV access to Sling's repository in two flavours: (1) Access to all workspaces of the repository on a separate URL space -- by default rooted at <code>/dav</code> in the Sling context -- and (2) access to the workspace used by Sling itself at the root of the Sling context.</p>
+<p>WebDAV support in Sling is based on the <a href="http://jackrabbit.apache.org/doc/components/jcr-server.html">Simple WebDAV</a> implementation of Apache Jackrabbit which is integrated in the <code>jcr/webdav</code> project. This bundle provides WebDAV access to Sling's repository in two flavours: (1) Access to all workspaces of the repository on a separate URL space -- by default rooted at <code>/dav</code> in the Sling context -- and (2) access to the workspace used by Sling itself at the root of the Sling context.</p>
<h4 id="example">Example</h4>
<p>Consider Sling be installed on a Servlet container in the <code>/sling</code> context on <code>some.host.net:8080</code>. Here you would access the Sling workspace by directing your WebDAV client to the URL <code>http://some.host.net:8080/sling</code>. To access the <code>sample</code> workspace, which is not used by Sling itself, you would direct your WebDAV client to the URL <code>http://some.host.net:8080/sling/dav/sample</code>.</p>
<p>Please note that accessing the repository in the separate URI space is actually faster, since requests do not pass the Sling resource and script resolution framework but instead hit the Jackrabbit Simple WebDAV Servlet directly.</p>
@@ -190,7 +190,7 @@ slingroot/prefix/workspace/item
<h2 id="eclipse-plugin-for-jcr">Eclipse plugin for JCR</h2>
<p>TBD</p>
<div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
- Rev. 1341376 by fmeschbe on Tue, 22 May 2012 09:41:06 +0000
+ Rev. 1475804 by dklco on Thu, 25 Apr 2013 14:45:50 +0000
</div>
<div class="trademarkFooter">
Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project
Modified: websites/staging/sling/trunk/content/documentation/development/sling.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation/development/sling.html (original)
+++ websites/staging/sling/trunk/content/documentation/development/sling.html Thu Apr 25 14:46:10 2013
@@ -121,7 +121,7 @@
</pre></div>
-<p>For more information, see <a href="">"Guide to Configuring Plug-ins"</a></p>
+<p>For more information, see <a href="http://maven.apache.org/guides/mini/guide-configuring-plugins.html">"Guide to Configuring Plug-ins"</a></p>
<p>{anchor:deploy}</p>
<h2 id="the-deploy-goal">The <code>deploy</code> goal</h2>
<p>The <code>deploy</code> goal uploads a bundle to a Sling OSGi Bundle Repository server implemented by the <em>sling-obr</em> bundle, which may be located on a remote system. The plugin places an HTTP <code>POST</code> request to the server sending the bundle file. </p>
@@ -179,7 +179,7 @@
|--|--|--|--|
| <code>bundleFileName</code> | <code>$\{project.build.directory}/$\{project.build.finalName}.jar</code> | <code>sling.file</code> | The path and name of the file to be installed |
| <code>obr</code> | - | <code>obr</code> | The URL of the running Sling instance to which the bundle is installed. Note that this parameter is required and has no defualt value. It must always be specified in the configuration section or on the command line. |
-Example: To deploy the bundle file <code>someBundle.jar</code> to the OBR running at <code>[http://obr.sample.org]()</code> you might use the goal as follows:</p>
+Example: To deploy the bundle file <code>someBundle.jar</code> to the OBR running at <code>[http://obr.sample.org](http://obr.sample.org)</code> you might use the goal as follows:</p>
<div class="codehilite"><pre><span class="nv">$</span> <span class="nv">mvn</span> <span class="n">org</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">sling:maven</span><span class="o">-</span><span class="n">sling</span><span class="o">-</span><span class="n">plugin:deploy</span><span class="o">-</span><span class="n">file</span> <span class="o">-</span><span class="n">Dsling</span><span class="o">.</span><span class="n">file</span><span class="o">=</span><span class="n">someBundle</span><span class="o">.</span><span class="n">jar</span> <span class="o">-</span><span class="n">Dobr</span><span class="o">=</span><span class="n">http:</span><span class="sr">//o</span><span class="n">br</span><span class="o">.</span><span class="n">sample</span><span class="o">.</span><span class="n">org</span>
</pre></div>
@@ -330,7 +330,7 @@ Example: To deploy the bundle file <code
| <code>skip</code> | <code>false</code> | <code>sling.validation.skip</code> | Whether to skip the validation |
| <code>skipJson</code> | <code>false</code> | <code>sling.validation.skipJson</code> | Whether to skip the JSON validation. At the time, there's no difference between <code>skip</code> and <code>skipJson</code> because only JSON files will be validated by now. |</p>
<div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
- Rev. 1341376 by fmeschbe on Tue, 22 May 2012 09:41:06 +0000
+ Rev. 1475804 by dklco on Thu, 25 Apr 2013 14:45:50 +0000
</div>
<div class="trademarkFooter">
Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project
Modified: websites/staging/sling/trunk/content/documentation/development/version-policy.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation/development/version-policy.html (original)
+++ websites/staging/sling/trunk/content/documentation/development/version-policy.html Thu Apr 25 14:46:10 2013
@@ -113,7 +113,7 @@ Please note that this page is currently
The exports in bundle/api/pom.xml look like they might become problematic from a support point of view, although we probably can't avoid this. [...]() [The problem is the] manual maintenance of the version numbers. (not a big problem but needs to be done)
{quote}</p>
<p>I agree, that this is a problem. So let me reasonate on this a bit ;-)</p>
-<p>As a reference you might want to read <a href="">my blog post on version numbers</a> and also what the [Eclipse guys have to say|http://wiki.eclipse.org/index.php/Version_Numbering] (great read, btw). The OSGi Alliance has come up with a good definition for [Semantic Versioning|http://www.osgi.org/wiki/uploads/Links/SemanticVersioning.pdf] to which the definitions described below perfectly match.</p>
+<p>As a reference you might want to read <a href="http://blog.meschberger.ch/2009/10/on-version-numbers.html">my blog post on version numbers</a> and also what the [Eclipse guys have to say|http://wiki.eclipse.org/index.php/Version_Numbering] (great read, btw). The OSGi Alliance has come up with a good definition for [Semantic Versioning|http://www.osgi.org/wiki/uploads/Links/SemanticVersioning.pdf] to which the definitions described below perfectly match.</p>
<p>For Sling we have three kinds of version numbers:</p>
<ol>
<li>Big Sling Releases</li>
@@ -158,7 +158,7 @@ The exports in bundle/api/pom.xml look l
</pre></div>
-<p>See <a href="">Bnd Experimental</a> for details. Unfortunately the current Maven Bundle Plugin version does not support updating to the most recent BND library versions due to incompatibilities.</p>
+<p>See <a href="http://www.aqute.biz/Code/XBnd">Bnd Experimental</a> for details. Unfortunately the current Maven Bundle Plugin version does not support updating to the most recent BND library versions due to incompatibilities.</p>
<h2 id="version-number-syntax">Version Number Syntax</h2>
<p>As a small reminder, this is how a version number is constructed: In OSGi version numbers are composed of four (4) segments: 3 integers and a string named major.minor.micro.qualifier.</p>
<p>Each segment captures a different intent:</p>
@@ -233,15 +233,15 @@ The exports in bundle/api/pom.xml look l
<p>This allows for the implementation to work correctly with bug fixed package exports but as soon as there are any <em>externally visible</em> changes, the implementation bundle has to be adapted -- even if this just means increasing the upper version bound in the <code>Import-Package</code> statement thus guaranteeing compliance (again).</p>
<p><em>Future</em></p>
-<p>Recent versions of the BND library support automatic differntiation between use and implementation of API and to set the import version ranges accordingly. See <a href="">Bnd Experimental</a> for details. Unfortunately the current Maven Bundle Plugin version does not support updating to the most recent BND library versions due to incompatibilities.</p>
+<p>Recent versions of the BND library support automatic differntiation between use and implementation of API and to set the import version ranges accordingly. See <a href="http://www.aqute.biz/Code/XBnd">Bnd Experimental</a> for details. Unfortunately the current Maven Bundle Plugin version does not support updating to the most recent BND library versions due to incompatibilities.</p>
<h2 id="references">References</h2>
-<p><a href="">Version Numbers</a> -- The mail thread discussing version numbering
-<a href="">On Version Numbers</a> -- Blog about version numbers
-<a href="">Version Numbering</a> -- An Eclipse paper on assigning version numbers. Very good read.
-<a href="">Semantic Versioning</a> -- An OSGi Alliance paper on semantic versioning.
-<a href="">Bnd Experimental</a> -- Experimental extensions to the BND library; unfortunately these extensions are not yet usable with Maven Bundle Plugin 2.1.0 due to API changes in the BND library not supported by the plugin.</p>
+<p><a href="http://markmail.org/thread/zshobgjwtqrncajt">Version Numbers</a> -- The mail thread discussing version numbering
+<a href="http://blog.meschberger.ch/2009/10/on-version-numbers.html">On Version Numbers</a> -- Blog about version numbers
+<a href="http://wiki.eclipse.org/index.php/Version_Numbering">Version Numbering</a> -- An Eclipse paper on assigning version numbers. Very good read.
+<a href="http://www.osgi.org/wiki/uploads/Links/SemanticVersioning.pdf">Semantic Versioning</a> -- An OSGi Alliance paper on semantic versioning.
+<a href="http://www.aqute.biz/Code/XBnd">Bnd Experimental</a> -- Experimental extensions to the BND library; unfortunately these extensions are not yet usable with Maven Bundle Plugin 2.1.0 due to API changes in the BND library not supported by the plugin.</p>
<div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
- Rev. 1464512 by bdelacretaz on Thu, 4 Apr 2013 13:03:31 +0000
+ Rev. 1475804 by dklco on Thu, 25 Apr 2013 14:45:50 +0000
</div>
<div class="trademarkFooter">
Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project
Modified: websites/staging/sling/trunk/content/documentation/getting-started.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation/getting-started.html (original)
+++ websites/staging/sling/trunk/content/documentation/getting-started.html Thu Apr 25 14:46:10 2013
@@ -97,14 +97,14 @@
<li><a href="/documentation/the-sling-engine/architecture.html">Architecture</a></li>
<li><a href="/documentation/the-sling-engine/dispatching-requests.html">Dispatching Requests</a></li>
<li><a href="/documentation/the-sling-engine/resources.html">Resources</a></li>
-<li><a href="">Setting up an Sling-Project with Eclipse</a></li>
+<li><a href="http://cwiki.apache.org/SLING/setting-up-eclipse-34-for-sling.html">Setting up an Sling-Project with Eclipse</a></li>
<li><a href="/documentation/bundles/manipulating-content-the-slingpostservlet-servlets-post.html">Manipulating Content - The SlingPostServlet (servlets.post)</a></li>
<li><a href="/documentation/the-sling-engine/request-parameters.html">Request Parameters</a></li>
<li><a href="/documentation/the-sling-engine/authentication.html">Authentication</a></li>
<li><a href="/documentation/the-sling-engine/eventing-and-jobs.html">Eventing and Jobs</a></li>
</ul>
<div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
- Rev. 1341376 by fmeschbe on Tue, 22 May 2012 09:41:06 +0000
+ Rev. 1475804 by dklco on Thu, 25 Apr 2013 14:45:50 +0000
</div>
<div class="trademarkFooter">
Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project
Modified: websites/staging/sling/trunk/content/documentation/the-sling-engine/authentication/authentication-actors.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation/the-sling-engine/authentication/authentication-actors.html (original)
+++ websites/staging/sling/trunk/content/documentation/the-sling-engine/authentication/authentication-actors.html Thu Apr 25 14:46:10 2013
@@ -111,11 +111,11 @@
</ul>
<p>The Sling Jackrabbit Embedded Repository bundle provides additional plugin interfaces to extend the login process dynamically using OSGi services. To this avail the bundle configures a <code>LoginModule</code> with the provided default Jackrabbit configuration supporting these plugins:</p>
<ul>
-<li><code>LoginModulePlugin</code> -- The main service interface. Plugins must implement this interface to be able to extend the login process. See for example the <a href="">Sling OpenID authentication handler</a>, which implements this interface to support OpenID authentication.</li>
+<li><code>LoginModulePlugin</code> -- The main service interface. Plugins must implement this interface to be able to extend the login process. See for example the <a href="http://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/openidauth/">Sling OpenID authentication handler</a>, which implements this interface to support OpenID authentication.</li>
<li><code>AuthenticationPlugin</code> -- Helper interface for the <code>LoginModulePlugin</code>.</li>
</ul>
<h2 id="sling-applications">Sling Applications</h2>
-<p>Sling Applications requiring authenticed requests should not care about how authentication is implemented. To support such functionality the <code>Authenticator</code> service is provided with two methods:</p>
+<p>Sling Applications requiring authenticated requests should not care about how authentication is implemented. To support such functionality the <code>Authenticator</code> service is provided with two methods:</p>
<ul>
<li>
<p><code>login</code> -- allows the application to ensure requests are authenticated. This involves selecting an <code>AuthenticationHandler</code> to request credentials for authentication.</p>
@@ -129,7 +129,7 @@
If you want to know whether a request is authenticated or not, you can inspect the result of the `HttpServletRequest.getAuthType` method: If this method returns `null` the request is not authenticated.
</div>
<div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
- Rev. 1464512 by bdelacretaz on Thu, 4 Apr 2013 13:03:31 +0000
+ Rev. 1475804 by dklco on Thu, 25 Apr 2013 14:45:50 +0000
</div>
<div class="trademarkFooter">
Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project
Modified: websites/staging/sling/trunk/content/documentation/the-sling-engine/authentication/authentication-authenticationhandler/form-based-authenticationhandler.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation/the-sling-engine/authentication/authentication-authenticationhandler/form-based-authenticationhandler.html (original)
+++ websites/staging/sling/trunk/content/documentation/the-sling-engine/authentication/authentication-authenticationhandler/form-based-authenticationhandler.html Thu Apr 25 14:46:10 2013
@@ -102,7 +102,7 @@
<li>For the initial form submission, the request URL must end with <code>/j*security*check</code> and the user name and password names must be <code>j*username</code> and <code>j*password</code>, resp.</li>
<li>The authentication type as returned by <code>HttpServletRequest.getAuthType()</code> is set to <code>HttpServletRequest.FORM_AUTH</code>.</li>
</ul>
-<p>The Form Based Authentication Handler is maintained in the <a href="">Sling SVN</a></p>
+<p>The Form Based Authentication Handler is maintained in the <a href="http://svn.apache.org/repos/asf/sling/trunk/bundles/auth/form">Sling SVN</a></p>
<h3 id="authenticationhandler-implementation">AuthenticationHandler implementation</h3>
<ul>
<li><code>extractCredentials</code> -- Prepares credentials for the form entered data or from the Cookie or HTTP Session attribute. Returns <code>null</code> if neither data is provided in the request</li>
@@ -169,7 +169,7 @@
</tbody>
</table>
<p>The <code>resource</code> and <code>sling.auth.redirect</code> parameters provide similar functionality but with differing historical backgrounds. The <code>resource</code> parameter is based on the <code>resource</code> request attribute which is set by the login servlet to indicate the original target resource the client desired when it was forced to authenticate. The <code>sling.auth.redirect</code> parameter can be used by clients (applications like cURL or plain HTML forms) to request being redirected after successful login. If both parameters are set, the <code>sling.auth.redirect</code> parameter takes precedence.</p>
-<p>The Form Based Authentication Handler contains a <a href="">default form servlet</a> and [HTML form template from|http://svn.apache.org/repos/asf/sling/trunk/bundles/auth/form/src/main/resources/org/apache/sling/auth/form/impl/login.html].</p>
+<p>The Form Based Authentication Handler contains a <a href="http://svn.apache.org/repos/asf/sling/trunk/bundles/auth/form/src/main/java/org/apache/sling/auth/form/impl/AuthenticationFormServlet.java">default form servlet</a> and [HTML form template from|http://svn.apache.org/repos/asf/sling/trunk/bundles/auth/form/src/main/resources/org/apache/sling/auth/form/impl/login.html].</p>
<h3 id="phase-2-authenticated-requests">Phase 2: Authenticated Requests</h3>
<p>After the successful authentication of the user in phase 1, the authentication state is stored in a Cookie or an HTTP Session. The stored value is a security token with the following contents:</p>
<div class="codehilite"><pre><span class="n">HmacSHA1</span><span class="p">(</span><span class="n">securetoken</span><span class="p">,</span> <span class="sr"><securetokennumber><expirytime></span><span class="nv">@</span><span class="err"><</span><span class="nv">userID</span><span class="o">></span><span class="p">)</span><span class="nv">@</span><span class="err"><</span><span class="nv">securetokennumber</span><span class="o">></span><span class="sr"><expirytime></span><span class="nv">@</span><span class="err"><</span><span class="nv">userID</span><span class="o">></span>
@@ -247,7 +247,7 @@
</ol>
<p>To prevent eavesdroppers from sniffing the credentials or stealing the Cookie a secure transport layer should be used such as TLS/SSL, VPN or IPSec.</p>
<div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
- Rev. 1341376 by fmeschbe on Tue, 22 May 2012 09:41:06 +0000
+ Rev. 1475804 by dklco on Thu, 25 Apr 2013 14:45:50 +0000
</div>
<div class="trademarkFooter">
Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project
Modified: websites/staging/sling/trunk/content/documentation/the-sling-engine/authentication/authentication-authenticationhandler/openid-authenticationhandler.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation/the-sling-engine/authentication/authentication-authenticationhandler/openid-authenticationhandler.html (original)
+++ websites/staging/sling/trunk/content/documentation/the-sling-engine/authentication/authentication-authenticationhandler/openid-authenticationhandler.html Thu Apr 25 14:46:10 2013
@@ -106,10 +106,10 @@
<li><a href="#security-considerations">Security Considerations</a></li>
</ul>
</div>
-<p>The OpenID Authentication Handler supports authentication of request users using the <a href="">OpenID</a> authentication protocol. If the user has successfully authenticated with his OpenID provider a signed OpenID identity is further used to identify the user.</p>
+<p>The OpenID Authentication Handler supports authentication of request users using the <a href="http://www.openid.net">OpenID</a> authentication protocol. If the user has successfully authenticated with his OpenID provider a signed OpenID identity is further used to identify the user.</p>
<p>Since generally an OpenID identity is an URL and URLs may not be used as JCR user names, an association mechanism is used by the OpenID authentication handler to associate an OpenID identity with an existing JCR user: The OpenID identity URL is set as the value of a JCR user property. When a user authenticates with his OpenID identity the matching user searched for by looking for a match in this property.</p>
<p><em>NOTE:</em> This association currently only works with Jackrabbit (or Jackrabbit based repositories) because user management is not part of the JCR 2 specification and the OpenID authentication handler uses the Jackrabbit <code>UserManager</code> to find users by a user property value.</p>
-<p>The OpenID Authentication Handler is maintained in the <a href="">Sling SVN</a></p>
+<p>The OpenID Authentication Handler is maintained in the <a href="http://svn.apache.org/repos/asf/sling/trunk/bundles/auth/openid/">Sling SVN</a></p>
<h3 id="credentials-extraction">Credentials Extraction</h3>
<p>Theoretically each request with the <code>openid_identifier</code> request parameter set may initiate an OpenID authentication process which involves resolving the OpenID provider for the identifier and subsequently authentication with the provider authorizing the Sling instance to use the OpenID identity.</p>
<p>This initiation, though, is not possible if the request already contains a valid and validated OpenID identifier either set as a request attribute or set in the HTTP Session or the OpenID cookie. In these situations, the current association of a client with an OpenID identity must first be removed by logging out, e.g. by requesting <code>/system/sling/logout.html</code> which causes the current OpenID user data to be removed by either removing it from the HTTP Session or by clearing the OpenID cookie.</p>
@@ -266,7 +266,7 @@
</ol>
<p>To prevent eavesdroppers from sniffing the credentials or stealing the Cookie a secure transport layer should be used such as TLS/SSL, VPN or IPSec.</p>
<div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
- Rev. 1341376 by fmeschbe on Tue, 22 May 2012 09:41:06 +0000
+ Rev. 1475804 by dklco on Thu, 25 Apr 2013 14:45:50 +0000
</div>
<div class="trademarkFooter">
Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project