Return-Path: X-Original-To: apmail-sling-commits-archive@www.apache.org Delivered-To: apmail-sling-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EFBDBDA3A for ; Wed, 12 Dec 2012 09:16:30 +0000 (UTC) Received: (qmail 38221 invoked by uid 500); 12 Dec 2012 09:16:29 -0000 Delivered-To: apmail-sling-commits-archive@sling.apache.org Received: (qmail 38123 invoked by uid 500); 12 Dec 2012 09:16:28 -0000 Mailing-List: contact commits-help@sling.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@sling.apache.org Delivered-To: mailing list commits@sling.apache.org Received: (qmail 37986 invoked by uid 99); 12 Dec 2012 09:16:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Dec 2012 09:16:26 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Dec 2012 09:16:22 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 6013B2388CA1; Wed, 12 Dec 2012 09:15:07 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1420577 [20/30] - in /sling/site/trunk/content/site: ./ 46-line-blog.data/ authentication.data/ documentation.data/ first-steps.data/ getting-and-building-sling.data/ how-to-manage-events-in-sling.data/ index.data/ links.data/ manipulating... Date: Wed, 12 Dec 2012 09:14:44 -0000 To: commits@sling.apache.org From: cziegeler@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20121212091507.6013B2388CA1@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Added: sling/site/trunk/content/site/navigation.html URL: http://svn.apache.org/viewvc/sling/site/trunk/content/site/navigation.html?rev=1420577&view=auto ============================================================================== --- sling/site/trunk/content/site/navigation.html (added) +++ sling/site/trunk/content/site/navigation.html Wed Dec 12 09:13:50 2012 @@ -0,0 +1,99 @@ + + + + + Apache Sling - Navigation + + + + + +
+ +
+ + Apache + +
+
+ +
+ +

Documentation
+Getting Started
+The Sling Engine
+Development
+Bundles
+Tutorials & How-Tos
+Configuration
+API docs
+Wiki
+FAQ

+ +

Project info
+Downloads
+License
+Contributing
+News
+Links
+Project Information
+Issue Tracker
+Browse Source Repository
+Security

+ +

Sponsorship
+Thanks
+Become a Sponsor
+Buy Stuff

+ + + +

+ +
+Last modified by fmeschbe on 2012-04-20 02:29:39.0 +
+
+Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. +
+
+ + + Propchange: sling/site/trunk/content/site/navigation.html ------------------------------------------------------------------------------ svn:eol-style = native Propchange: sling/site/trunk/content/site/navigation.html ------------------------------------------------------------------------------ svn:keywords = Id Propchange: sling/site/trunk/content/site/navigation.html ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: sling/site/trunk/content/site/news.html URL: http://svn.apache.org/viewvc/sling/site/trunk/content/site/news.html?rev=1420577&view=auto ============================================================================== --- sling/site/trunk/content/site/news.html (added) +++ sling/site/trunk/content/site/news.html Wed Dec 12 09:13:50 2012 @@ -0,0 +1,159 @@ + + + + + Apache Sling - News + + + + + +
+ +
+ + Apache + +
+
+ +
+ +

News

+ + +
    +
  • New Release: Apache Sling Servlet Resolver 2.2.2 (December 10th, 2012)
  • +
  • New Releases: Apache Sling Settings 1.2.2, Apache Sling Auth Core 1.1.0, Apache Sling Commons Logservice 1.0.2, Apache Sling Installer Core 3.4.2, Apache Sling Scripting JSP 2.0.26, Apache Sling Commons Compiler 2.1.0, Apache Sling JCR Compiler 2.1.0, Apache Sling I18n 2.2.4, Apache Sling JCR Classloader 3.1.10, Apache Sling JCR Webdav 2.1.2, Apache Sling JCR Davex 1.1.0 (November 30th, 2012)
  • +
  • New Releases: Apache Sling Maven Launchpad Plugin 2.2.0, Apache Sling Commons OSGi 2.2.0, Apache Sling Launchpad Installer 1.2.0, Apache Sling Rewriter 1.0.4, Apache Sling Settings 1.2.0 (November 19th, 2012)
  • +
  • New Releases: Apache Sling API 2.3.0, Apache Sling Bundle Resource Provider 2.1.0, Apache Sling File System Resource Provider 1.1.0, Apache Sling JCR Resource 2.2.0, Apache Sling Resource Resolver 1.0.0, Apache Sling Servlets Get 2.1.4, Apache Sling Servlets Post 2.2.0, Apache Sling Servlets Resolver 2.2.0, Apache Sling Adapter 2.1.0, Apache Sling Commons Testing 2.0.12 (November 15th, 2012)
  • +
  • New Release: Apache Sling JSP Taglib 2.1.8, Apache Sling Installer Core 3.4.0, Apache Sling Installer API 1.0.0, Apache Sling Installer Console 1.0.0, Apache Sling JCR Wrapper 2.0.0 (October 29th, 2012)
  • +
  • New Releases: Apache Sling Installer Core 3.3.8, Apache Sling Launchpad Installer 1.1.4, and Apache Sling Maven Launchpad Plugin 2.1.2 (August 19th, 2012)
  • +
+ + +
    +
  • New Release: Apache Sling Scripting JST 2.0.6 (August 17th, 2012)
  • +
  • New Releases: Apache Sling Adapter 2.0.16, Apache Sling JCR ContentLoader 2.1.6, and Apache Sling Parent POM 13 (July 9th, 2012)
  • +
  • Vulnerability report and fix: CVE-2012-2138 Apache Sling denial of service vulnerability (July 6th, 2012), see http://s.apache.org/CVE-2012-2138
  • +
  • New Releases: Apache Sling Commons Compiler 2.0.6, Apache Sling Adapter 2.0.14, Apache Sling JCR ClassLoader 3.1.8, Apache Sling JCR Compiler 2.0.4, Apache Sling Scripting Core 2.0.24, Apache Sling Scripting Java 2.0.4, Apache Sling Scripting JSP 2.0.24, Apache Sling POST Servlets 2.1.2 (June 28th, 2012)
  • +
  • New Releases: Apache Sling Installer Factory Configuration 1.0.8, Apache Sling Engine 2.2.6, Apache Sling i18n 2.2.2, Apache Sling Scripting Core 2.0.22 (May 26th, 2012)
  • +
  • New Releases: Apache Sling Commons ClassLoader 1.3.0, Apache Sling Commons Compiler 2.0.4, Apache Sling Eventing 3.1.4, Apache Sling Installer Core 3.3.6, Apache Sling JCR Installer 3.1.4, Apache Sling JCR ClassLoader 3.1.6, Apache Sling JCR Resource 2.1.0, Apache Sling Launchpad Installer 1.1.2, Apache Sling Scripting Java 2.0.4, and Apache Sling Scripting JSP 2.0.22 (May 18th, 2012)
  • +
  • New Releases: Apache Sling Commons Testing 2.0.10, Apache Sling Commons Scheduler 2.3.4, Apache Sling Commons Log 3.0.0, Apache Sling Commons Log Service 1.0.0, Apache Sling Adapter 2.0.12, Apache Sling Installer Core 3.3.4, Apache Sling Launchpad API 1.1.0, Apache Sling Launchpad Installer 1.1.0, and Apache Sling Maven JSPC Plugin 2.0.6 (February 7th, 2012)
  • +
  • New Releases: Apache Sling API 2.2.4, Apache Sling Adapter 2.0.10, Apache Sling Scripting JSP Taglib 2.1.6, Apache Sling Rewriter 1.0.2, Apache Sling JCR ContentLoader 2.1.4, Apache Sling JCR Base 2.1.2, Apache Sling Servlet Resolver 2.1.2, and Apache Sling Security 1.0.0 (January 30th, 2012)
  • +
  • New Releases: Apache Sling Scripting API 2.1.4, Apache Sling Scripting Core 2.0.20, Apache Sling i18n 2.2.0, Apache Sling Installer Core 3.3.2, Apache Sling Scripting Java 2.0.2, and Apache Sling Scripting JSP 2.0.20 (January 16th, 2012)
  • +
  • New Releases: Apache Adapter Annotations 1.0.0 and Apache Sling Maven Sling Plugin 2.1.0 (January 14th, 2012)
  • +
  • New Releases: Apache Sling Settings 1.1.0, Apache Sling Commons ClassLoader 1.2.4, Apache Sling Commons Scheduler 2.3.2, Apache Sling Event 3.1.2, Apache Sling Installer Core 3.3.0, Apache Sling Installer Configuration Factory 1.0.4, Apache Sling Launchpad Installer 1.0.6, Apache Sling JCR Installer 3.1.2, and Apache Sling Thread Dumper 0.2.2 (January 6th, 2012)
  • +
  • New Release: Apache Sling Jackrabbit User Manager 2.2.0 (November 15th, 2011)
  • +
  • New Release: Apache Sling Maven Sling Plugin 2.0.6 (October 21st, 2011)
  • +
  • New Release: Apache Sling Maven Launchpad Plugin 2.1.0 (September 9th, 20111)
  • +
  • New Releases: Apache Sling Resource Bundle 1.0.0 and Parent POM 12
  • +
  • New Releases: Apache Sling API 2.2.2, Apache Sling Commons Scheduler 2.3.0, Apache Sling Commons OSGi 2.1.0, Apache Sling Scripting Core 2.0.18, Apache Sling Installer Core 3.2.2, Apache Sling Installer Configuration Factory 1.0.2, Apache Sling Launchpad Installer 1.0.4, Apache Sling File Installer 1.0.2 (August 16th, 2011)
  • +
  • New Release: Apache Sling Scripting JSP Support 2.0.18 (August 15th, 2011)
  • +
  • Released new Apache Sling Parent POM 11 (August 8, 2011)
  • +
  • New Release: Apache Sling Internationalization 2.1.2 (July 15, 2011)
  • +
  • New Releases: Apache Sling Event 3.1.0, Apache Sling OSGi Installer 3.2.0, Apache Sling JCR Installer 3.1.0, Apache Sling Installer Configuration Factory 1.0.0, Apache Sling Launchpad Installer 1.0.2 (July 13th, 2011)
  • +
  • New Release: Apache Sling Engine 2.2.4 (June 22nd, 2011)
  • +
  • New Releases: Apache Sling Launchpad Standalone Archetype 1.0.0, Launchpad Webapp Archetype 1.0.0 (May 13th, 2011)
  • +
  • New Releases: Apache Sling Scripting JSP Support 2.0.16, JSP Taglib 2.1.2 (May 3rd, 2011)
  • +
  • New releases: Apache Sling Test Tools 1.0.2, JUnit Core 1.0.6, JUnit Remote Tests Runners 1.0.6, JUnit Scriptable Tests Provider 1.0.6, Sample Integration Tests 1.0.6, Sample Server-Side Tests 1.0.6, Failing Server-Side Tests 1.0.6 (April 26th, 2011)
  • +
  • New releases: Apache Sling I18N 2.1.0 (April 12, 2011)
  • +
  • New releases: Apache Sling 6, Apache Sling Launchpad Content 2.0.6 (March 28, 2011)
  • +
  • New releases: Apache Sling Launchpad Integration Tests 1.0.0, Apache Sling Launchpad Testing Services 2.0.8, Apache Sling Launchpad Testing Services WAR 2.0.8 (March 04, 2011)
  • +
  • New releases: Apache Sling Javascript 2.0.12 (February 26, 2011)
  • +
  • New releases: Apache Sling Explorer 1.0.2, Apache Sling JCR Resource 2.0.10, Apache Sling Engine 2.2.2, Apache Sling Installer IT Testing 3.1.2 (February 24, 2011)
  • +
  • New releases: Apache Sling Launchpad API 1.0.0, Launchpad Installer 1.0.0 Launchpad Base 2.3.0, Maven Launchpad Plugin 2.0.10, Apache Sling Commons Testing 2.0.8 (February 20, 2011)
  • +
  • New release: Apache Sling Servlets Get 2.1.2 (February 18, 2011)
  • +
  • Carl Hall added as a committer (February 18, 2011)
  • +
  • New releases: Apache Sling Installer Core 3.1.2, Apache Sling JCR Installer 3.0.4, and Apache Sling Event 3.0.2 (February 4, 2011)
  • +
  • New release: Apache Sling Scripting Core 2.0.16 (January 29, 2011)
  • +
  • New releases: Apache Sling JCR Resource 2.0.8, Apache Sling Engine 2.2.0, Apache Sling Bundle Resource Provider 2.0.6, Apache Sling File Resource Provider 1.0.2, Apache Sling Auth Core 1.0.6, Apache Sling Auth Selector 1.0.4 (January 28, 2011)
  • +
  • New releases: Apache Sling Commons Compiler 2.0.2, Apache Sling JCR Compiler 2.0.2, Apache Sling Commons Log 2.1.2, Apache Sling Event 3.0.0, Apache Sling Scripting JSP 2.0.14, Apache Sling Installer Core 3.1.0, Apache Sling JCR Installer 3.0.2 (January 21, 2011)
  • +
  • New release: Apache Sling Maven Launchpad Plugin 2.0.8 (December 20, 2010)
  • +
  • New releases: Apache Sling Commons Compiler 2.0.0, Apache Sling i18n 2.0.4, Apache Sling Commons Json 2.0.6, Apache Sling Commons Log 2.1.0, Apache Sling Scripting Java 2.0.0, Apache Sling Scripting JST 2.0.4, Apache Sling Scripting API 2.1.2, Apache Sling Scripting JSP 2.0.12, Apache Sling Scripting Javascript 2.0.10, Apache Sling JCR Compiler 2.0.0, Apache Sling Auth Core 1.0.4, Apache Sling Auth Selector 1.0.2, Apache Sling Auth Form 1.0.2, Apache Sling Auth OpenId 1.0.2, Apache Sling JCR ContentLoader 2.1.2 (December 20, 2010)
  • +
  • New releases: Apache Sling API 2.20, Apache Sling Adapter 2.0.8, Apache Sling Commons ClassLoader 1.2.2, Apache Sling JCR ClassLoader 3.1.4, Apache Sling Parent POM 10 (December 13, 2010)
  • +
  • New release: Apache Sling JCR Web Console Plugin 1.0.0 (November 16, 2010)
  • +
  • New releases: Apache Sling JCR Access Manager 2.1.0, JCR User Manager 2.1.0, JCR WebDAV support 2.1.0, and JCR DavEX support 1.0.0 (November 8, 2010)
  • +
  • New release: Apache Sling Explorer 1.0.0 (November 1, 2010)
  • +
  • New release: Apache Sling Scripting Core 2.0.14 (October 25, 2010)
  • +
  • New releases: Apache Sling Commons Threads 3.1.0, Apache Sling Event 2.4.2, Apache Sling I18N 2.0.2, Apache Sling Rewriter 1.0.0, and Apache Sling Settings 1.0.2 (October 15, 2010)
  • +
  • New releases: Apache Sling Installer Core 3.0.0, Apache Sling Installer File Provider 1.0.0, and Apache Sling Installer JCR Provider 3.0.0 (September 24, 2010)
  • +
  • New release: Apache Sling Commons Testing 2.0.6 (September 20, 2010)
  • +
  • New releases: Apache Sling JCR API 2.1.0, Apache Sling JCR Base 2.1.0, Apache Sling JCR Content Loader 2.1.0, Apache Sling Jackrabbit Server 2.1.0 (September 10, 2010)
  • +
  • New releases: Apache Sling Commons Threads 3.0.2, Apache Sling Event 2.4.0 (September 06, 2010)
  • +
  • New releases: Apache Sling Commons ClassLoader 1.2.0, Apache Sling JCR ClassLoader 3.1.2 (August 30, 2010)
  • +
  • New release: Apache Sling Web Console Branding 1.0.0, Apache Sling Web Console Security Provider 1.0.0 (August 25, 2010)
  • +
  • New release: Apache Sling API 2.1.0 (August 21, 2010)
  • +
  • New release: Apache Sling GWT Integration 3.0.0 (July 30, 2010)
  • +
  • New releases: Apache Sling Commons OSGi 2.0.6, Launchpad Base 2.2.0 and Maven Launchpad Plugin 2.0.6 (April 27, 2010)
  • +
  • New releases: Apache Sling Event 2.3.0, Apache Sling Scripting Core 2.1.0, Apache Commons MIME 2.1.4, and Apache Sling FileResource Provider 1.0.0 (March 1, 2010)
  • +
  • Eric Norman added as a committer (February 17, 2010)
  • +
  • New release: Apache Sling Sample Path Based Resource Type Provider 2.0.4 (February 22, 2010)
  • +
  • New releases: Apache Sling Event 2.2.0, Apache Sling Scripting API 2.1.0, and Apache Sling Thread Dumper 0.2.0 (Feburary 19, 2010)
  • +
  • New releases: Apache Sling JCR WebDav 2.0.8, Apache Sling JCR ContentLoader 2.0.6, Apache Sling JCR UserManager 2.0.4, Apache Sling JCR Server 2.0.6, Apache Sling JCR AccessManager 2.0.4, Apache Sling JCR Base 2.0.6 (February 17, 2010)
  • +
  • New releases: Apache Sling Commons ClassLoader 1.1.4, and Apache Sling JCR ClassLoader 3.1.0 (February 8, 2010)
  • +
  • New release: Apache Sling JCR API 2.0.6 (January 29, 2010)
  • +
  • New releases: Apache Sling Commons ClassLoader 1.1.2, Apache Sling Commons Scheduler 2.2.0, Apache Sling Commons Threads 3.0.0, Apache Sling Event 2.1.0, and Apache Sling Servlets Get 2.0.8 (December 21, 2009)
  • +
  • Apache Sling MIME type mapping support, Version 2.1.2, is released (December 15, 2009)
  • +
  • Justin Edelson added as a committer (December 7, 2009)
  • +
  • New releases: Apache Sling Commons HTML 1.0.0, Apache Sling Commons Compiler 1.0.0, Apache Sling JCR Compiler 1.0.0, Apache Sling JCR Prefs 1.0.0, and Apache Sling Scripting Java 1.0.0 (December 2, 2009)
  • +
  • New releases: Apache Sling Parent POM 8, Apache Sling Launchpad Base 2.1.0, Apache Sling Commons ClassLoader 1.1.0, Apache Sling JCR ClassLoader 3.0.0, Apache Sling Scripting Core 2.0.8, Apache Sling Scripting JSP 2.0.8, Apache Sling Scripting JSP Taglib 2.0.6, and Apache Sling Scripting JavaScript 2.0.6 (November 28, 2009)
  • +
  • New releases: Apache Sling Engine 2.0.6, Apache Sling Adapter 2.0.4, Apache Sling JCR Resource 2.0.6, Apache Sling Commons ClassLoader 1.0.0, Apache Sling Event 2.0.6, Apache Sling JCR ClassLoader 2.0.6, Apache Sling Scripting Core 2.0.6, Apache Sling Servlets Resolver 2.0.8 (October 13, 2009)
  • +
  • New releases: Apache Sling API 2.0.8, Apache Sling Commons HTML 0.9.0, Apache Sling Commons ClassLoader 0.9.0, Apache Sling Commons Scheduler 2.1.0, and Apache Sling Servlets Get 2.0.6 (October 02, 2009)
  • +
  • New releases: Apache Sling API 2.0.6 and Apache Sling JCR API 2.0.4 (August 17, 2009)
  • +
  • Apache Sling OSGi LogService Implementation, Version 2.0.6, is released (August 5, 2009)
  • +
  • Ian Boston added as a member of the PMC (July 25, 2009)
  • +
  • Ian Boston added as a committer (July 9, 2009)
  • +
  • Sling site at http://sling.apache.org live (June 29, 2009)
  • +
  • Mailing lists moved to dev(a)sling.apache.org and commits(a)sling.apache.org (June 29, 2009)
  • +
  • SVN moved to http://svn.apache.org/repos/asf/sling (June 18, 2009)
  • +
  • Apache Sling has graduated into a top level project! (June 17, 2009)
  • +
+ +
+Last modified by fmeschbe on Mon Dec 10 03:14:34 EST 2012 +
+
+Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. +
+
+ + + Propchange: sling/site/trunk/content/site/news.html ------------------------------------------------------------------------------ svn:eol-style = native Propchange: sling/site/trunk/content/site/news.html ------------------------------------------------------------------------------ svn:keywords = Id Propchange: sling/site/trunk/content/site/news.html ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: sling/site/trunk/content/site/object-content-mapping.html URL: http://svn.apache.org/viewvc/sling/site/trunk/content/site/object-content-mapping.html?rev=1420577&view=auto ============================================================================== --- sling/site/trunk/content/site/object-content-mapping.html (added) +++ sling/site/trunk/content/site/object-content-mapping.html Wed Dec 12 09:13:50 2012 @@ -0,0 +1,61 @@ + + + + + Apache Sling - Object Content Mapping + + + + + +
+ +
+ + Apache Incubator + +
+
+ +
+ +

THIS IS NOT UPTODATE!

+ +
    +
  • Content Mapping - The sling-jcr-ocm bundle provides the org.apache.sling.content.jcr.JcrContentManagerFactory service which creates org.apache.sling.content.jcr.JcrContentManager objects, which in turn implement mapping of Java objects to repository items and vice versa. See below.
  • +
+ +
+Last modified by cziegeler@apache.org on 2008-07-15 09:07:54.0 +
+
+ + + Propchange: sling/site/trunk/content/site/object-content-mapping.html ------------------------------------------------------------------------------ svn:eol-style = native Propchange: sling/site/trunk/content/site/object-content-mapping.html ------------------------------------------------------------------------------ svn:keywords = Id Propchange: sling/site/trunk/content/site/object-content-mapping.html ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: sling/site/trunk/content/site/old-documentation.html URL: http://svn.apache.org/viewvc/sling/site/trunk/content/site/old-documentation.html?rev=1420577&view=auto ============================================================================== --- sling/site/trunk/content/site/old-documentation.html (added) +++ sling/site/trunk/content/site/old-documentation.html Wed Dec 12 09:13:50 2012 @@ -0,0 +1,57 @@ + + + + + Apache Sling - Old Documentation + + + + + +
+ +
+ + Apache Incubator + +
+
+ +
+

Old Documentation

+ +

Below this page you will find a series of old documentation pages, which were accutate mostly at the time Sling entered the Apache Incubator. During the months of October and November 2007 the main API of Sling called the Component API underwent a dramatic overhaul and is now the Sling API.

+ +

For the moment we do not want to just throw away these old pages but remove them from the front, so we put them here. Sometime in the future, the contents in here will probably go for good.

+ +

Here is a list of the contents of the old documentation

+ + +
+ + + Propchange: sling/site/trunk/content/site/old-documentation.html ------------------------------------------------------------------------------ svn:eol-style = native Propchange: sling/site/trunk/content/site/old-documentation.html ------------------------------------------------------------------------------ svn:keywords = Id Propchange: sling/site/trunk/content/site/old-documentation.html ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: sling/site/trunk/content/site/old-stuff.html URL: http://svn.apache.org/viewvc/sling/site/trunk/content/site/old-stuff.html?rev=1420577&view=auto ============================================================================== --- sling/site/trunk/content/site/old-stuff.html (added) +++ sling/site/trunk/content/site/old-stuff.html Wed Dec 12 09:13:50 2012 @@ -0,0 +1,71 @@ + + + + + Apache Sling - Old Stuff + + + + + +
+ +
+ + Apache + +
+
+ +
+ +

Should either be deleted or reviewed and updated to match the current code:

+ + +
+Last modified by mykee on 2009-06-01 07:47:50.0 +
+
+Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. +
+
+ + + Propchange: sling/site/trunk/content/site/old-stuff.html ------------------------------------------------------------------------------ svn:eol-style = native Propchange: sling/site/trunk/content/site/old-stuff.html ------------------------------------------------------------------------------ svn:keywords = Id Propchange: sling/site/trunk/content/site/old-stuff.html ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: sling/site/trunk/content/site/openid-authenticationhandler.html URL: http://svn.apache.org/viewvc/sling/site/trunk/content/site/openid-authenticationhandler.html?rev=1420577&view=auto ============================================================================== --- sling/site/trunk/content/site/openid-authenticationhandler.html (added) +++ sling/site/trunk/content/site/openid-authenticationhandler.html Wed Dec 12 09:13:50 2012 @@ -0,0 +1,288 @@ + + + + + Apache Sling - OpenID AuthenticationHandler + + + + + +
+ +
+ + Apache + +
+
+ +
+ +

OpenID AuthenticationHandler

+ + + +

The OpenID Authentication Handler supports authentication of request users using the OpenID authentication protocol. If the user has successfully authenticated with his OpenID provider a signed OpenID identity is further used to identify the user.

+ +

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.

+ +

NOTE: 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 UserManager to find users by a user property value.

+ +

The OpenID Authentication Handler is maintained in the Sling SVN

+ + +

Credentials Extraction

+ +

Theoretically each request with the openid_identifier 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.

+ +

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 /system/sling/logout.html which causes the current OpenID user data to be removed by either removing it from the HTTP Session or by clearing the OpenID cookie.

+ + +

Phase 1: Form Submission

+ +

Requesting an OpenID identifier is initiated by the Sling Authenticator deciding, that authentication is actually required to process a request and the OpenID Authentication Handler being selected to request credentials with.

+ +

In this case the OpenID authenticator causes a form to be rendered by redirecting the client to the URL indicated by the form.login.form configuration parameter. This redirection request may accompanied by the following parameters:

+ +
+ + + + + + + + + + + + + + + + + +
Request Parameter Description
resource The location to which the user initially requested access and that caused the requestCredentials method to be called. This may not be set (or be set to an empty string).
j_reason The reason why an earlier attempt at authentication with the OpenID authentication handler failed. This request parameter is only set if the same named request attribute has been set by the extractCredentials or the authenticationFailed method. The value of the parameter is the name of one of the OpenIDFailure constants.
j_openid_identity The OpenID identity which could not successfully be associated with an existing JCR user. This request parameter is only set if the authenticationFailed method has been called due to inability to associate an existing and validated OpenID identity with an existing JCR user.
+
+ + +

The OpenID Authentication handlers supports the following request parameters submitted by the HTML form:

+ +
    +
  • openid_identifier – OpenID Claimed Identifier. This may be any actual OpenID identity URL or the URL of OpenID Provider such as https://www.google.com/accounts/o8/id, https://me.yahoo.com, or https://www.myopenid.com.
  • +
  • sling:authRequestLogin – This request parameter is recommended to be set with a hidden field to the value OpenID to ensure the request is handled by the OpenID Authentication Handler.
  • +
  • resource – The resource request parameter should be sent back to ensure the user is finally redirected to requested target resource after successful authentication. If this request parameter is not set, or is set to an empty string, it is assumed to be the request context root path.
  • +
+ + +

The OpenID Authentication Handler provides a default login form registered at /system/sling/openid/login.

+ + +

Configuration

+ +

The OpenID AuthenticationHandler is configured with configuration provided by the OSGi Configuration Admin Service using the org.apache.sling.openidauth.OpenIdAuthenticationHandler service PID.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Parameter Default Description
path Repository path for which this authentication handler should be used by Sling. If this is empty, the authentication handler will be disabled.
openid.login.form /system/sling/openid/login This should provide a way to capture the user's OpenID identifier. This is not the OpenID Provider's login page, however, it does not have to be a local URL. If it is a local Sling URL, it must be accessible by the anonymous user. The user is HTTP Redirect'ed to this URL. This page should POST back the user's OpenID identifier (as named by the "OpenID identifier form field" property) to the originally requested URL set in the "resource" request parameter.
openid.login.identifier openid_identifier The name of the form parameter that provides the user's OpenID identifier. By convention this is openid_identifier. Only change this if you have a very good reason to do so.
openid.external.url.prefix The prefix of URLs generated for the ReturnTo and TrustRoot properties of the OpenID request to the OpenID provider. Thus this URL prefix should bring back the authenticated user to this Sling instance. Configuring this property is usually necessary when running Sling behind a proxy (like Apache) since proxy mapping is not performed on the OpenID ReturnTo and TrustRoot URLs as they are sent to the OpenID Provider as form parameters. If this property is empty, the URLs are generated using the hostname found in the original request.
openid.use.cookie true Whether to use a regular Cookie or an HTTP Session to cache the OpenID authentication details. By default a regular cookie is used to prevent use of HTTP Sessions.
openid.cookie.domain Domain of cookie used to persist authentication. This defaults to the host name of the Sling server but may be set to a different value to share the cookie amongst a server farm or if the server is running behind a proxy. Only used if 'Use Cookie' is checked.
openid.cookie.name sling.openid Name of cookie used to persist authentication. Only used if 'Use Cookie' is checked.
openid.cookie.secret.key secret Secret key used to create a signature of the cookie value to prevent tampering. Only used if 'Use Cookie' is true.
openid.user.attr openid.user Name of the JCR SimpleCredentials attribute to to set with the OpenID User data. This attribute is used by the OpenID LoginModule to validate the OpenID user authentication data.
openid.property.identity openid.identity The name of the JCR User attribute listing one or more OpenID Identity URLs with which a user is associated. The property may be a multi- or single-valued. To resolve a JCR user ID from an OpenID identity a user is searched who lists the identity in this property.
+
+ + + + +

AuthenticationHandler implementation

+ + +

extractCredentials

+ +

To extract authentication information from the request, the Sling OpenID Authentication handler considers the following information in order:

+ +
    +
  1. The OpenID credentials cookie or OpenID User data in the HTTP Session (depending on the openid.use.cookie configuration)
  2. +
  3. Otherwise the openid_identifier request parameter (or a different request parameter depending on the openid.login.identifier configuration)
  4. +
+ + +

If the OpenID credentials already exist in the request, they are validated and returned if valid

+ +

If the existing credentials fail to validate, authentication failure is assumed and the credentials are removed from the request, either by clearing the OpenID cookie or by removing the OpenID User data from the HTTP Session.

+ +

If no OpenID credentials are found in the request, the request parameter is considered and if set is used to resolve the actual OpenID identity of the user. This involves redirecting the client to the OpenID provider resolved from the OpenID identifier supplied.

+ +

If the supplied OpenID identifier fails to resolve to an OpenID provider or if the identifier fails to be resolved to a validated OpenID identity, authentication fails.

+ + +

requestCredentials

+ +

If the sling:authRequestLogin parameter is set to a value other than OpenID this method immediately returns false.

+ +

If the parameter is not set or is set to OpenID this method continues with first invalidating any cached OpenID credentials (same as dropCredentials does) and then redirecting the client to the login form configured with the openid.login.form configuration property. The redirect is provided with up to three request parameters:

+ +
+ + + + + + + + + + + + + + + + + +
Request Parameter Description
resource The location to which the user initially requested access and that caused the requestCredentials method to be called.
j_reason The reason why an earlier attempt at authentication with the OpenID authentication handler failed. This request parameter is only set if the same named request attribute has been set by the extractCredentials or the authenticationFailed method. The value of the parameter is the name of one of the OpenIDFailure constants.
j_openid_identity The OpenID identity which could not successfully be associated with an existing JCR user. This request parameter is only set if the authenticationFailed method has been called due to inability to associate an existing and validated OpenID identity with an existing JCR user.
+
+ + + + +

dropCredentials

+ +

Invalidates the OpenID identity currently stored with the request. This means to either remove the OpenID cookie or to remove the OpenID information from the HTTP Session. This method does not write to the response (except setting the Set-Cookie header to remove the OpenID cookie if required) and does not commit the response.

+ + +

AuthenticationFeedbackHandler implementation

+ +

authenticationFailed

+ +

This method is called, if the Credentials provided by the Authentication Handler could not be validated by the Jackrabbit authentication infrastructure. One cause may be that the integration with Jackrabbit has not been completed (see Integration with Jackrabbit below). Another, more probably cause, is that the validated OpenID identifier cannot be associated with an existing JCR user.

+ +

The OpenID Authentication Handler implementation of the authenticationFailed method sets the j_reason request attribute to OpenIDFailure.REPOSITORY and sets the j_openid_identity request attribute to the OpenID identity of the authenticated user.

+ +

A login form provider may wish to act upon this situation and provide a login form to the user to allow to his OpenID identity with an existing JCR user.

+ +

In addition, the current OpenID identity is invalidated thus the cached OpenID information is removed from the HTTP Session or the OpenID cookie is cleaned. This will allow the user to present a different OpenID identifier to retry or it will require the OpenID identity to be revalidated with the OpenID provider if the identity is associated with a JCR user.

+ +

authenticationSucceeded

+ +

The OpenID Authentication Handler implementation of the authenticationSucceeded method just calls the DefaultAuthenticationFeedbackHandler.handleRedirect method to redirect the user to the initially requested location.

+ + +

Integration with Jackrabbit

+ +

The OpenID authentication handler can be integrated in two ways into the Jackrabbit authentication mechanism which is based on JAAS LoginModule. One integration is by means of a LoginModulePlugin which plugs into the extensible LoginModule architecture supported by the Sling Jackrabbit Embedded Repository bundle.

+ +

The other integration option is the trusted_credentials_attribute mechanism supported by the Jackrabbit DefaultLoginModule. By setting the trusted_credentials_attribute parameter of the Jackrabbit DefaultLoginModule and the openid.user.attr configuration property of the OpenID Authentication Handler to the same value, the existence of an attribute of that name in the SimpleCredentials instance provided to the Repository.login method signals pre-authenticated credentials, which need not be further checked by the DefaultLoginModule.

+ + +

Security Considerations

+ +

OpenIDAuthentication has some limitations in terms of security:

+ +
    +
  1. User name and password are transmitted in plain text in the initial form submission.
  2. +
  3. The Cookie used to provide the authentication state or the HTTP Session ID may be stolen.
  4. +
  5. When using the trusted_credentials_attribute mechanism, any intruder knowing the attribute name may log into the repository as any existing JCR user. The better option is to be based on the LoginModulePlugin mechanism.
  6. +
+ + +

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.

+
+Last modified by fmeschbe on 2011-05-25 10:06:09.0 +
+
+Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. +
+
+ + + Propchange: sling/site/trunk/content/site/openid-authenticationhandler.html ------------------------------------------------------------------------------ svn:eol-style = native Propchange: sling/site/trunk/content/site/openid-authenticationhandler.html ------------------------------------------------------------------------------ svn:keywords = Id Propchange: sling/site/trunk/content/site/openid-authenticationhandler.html ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: sling/site/trunk/content/site/osgi-installer.data/Slide14.jpg URL: http://svn.apache.org/viewvc/sling/site/trunk/content/site/osgi-installer.data/Slide14.jpg?rev=1420577&view=auto ============================================================================== Binary file - no diff available. Propchange: sling/site/trunk/content/site/osgi-installer.data/Slide14.jpg ------------------------------------------------------------------------------ svn:mime-type = image/jpeg Added: sling/site/trunk/content/site/osgi-installer.data/Slide14.jpg.jpeg URL: http://svn.apache.org/viewvc/sling/site/trunk/content/site/osgi-installer.data/Slide14.jpg.jpeg?rev=1420577&view=auto ============================================================================== Binary file - no diff available. Propchange: sling/site/trunk/content/site/osgi-installer.data/Slide14.jpg.jpeg ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: sling/site/trunk/content/site/osgi-installer.data/Slide14.png URL: http://svn.apache.org/viewvc/sling/site/trunk/content/site/osgi-installer.data/Slide14.png?rev=1420577&view=auto ============================================================================== Binary file - no diff available. Propchange: sling/site/trunk/content/site/osgi-installer.data/Slide14.png ------------------------------------------------------------------------------ svn:mime-type = image/png Added: sling/site/trunk/content/site/osgi-installer.data/Slide14.png.jpeg URL: http://svn.apache.org/viewvc/sling/site/trunk/content/site/osgi-installer.data/Slide14.png.jpeg?rev=1420577&view=auto ============================================================================== Binary file - no diff available. Propchange: sling/site/trunk/content/site/osgi-installer.data/Slide14.png.jpeg ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: sling/site/trunk/content/site/osgi-installer.html URL: http://svn.apache.org/viewvc/sling/site/trunk/content/site/osgi-installer.html?rev=1420577&view=auto ============================================================================== --- sling/site/trunk/content/site/osgi-installer.html (added) +++ sling/site/trunk/content/site/osgi-installer.html Wed Dec 12 09:13:50 2012 @@ -0,0 +1,111 @@ + + + + + Apache Sling - OSGi Installer + + + + + +
+ +
+ + Apache + +
+
+ +
+ +

Overview

+ +

The OSGi installer is a central service for handling installs, updates and uninstall of "artifacts". By default, the installer supports bundles and has an extension for handling configurations for the OSGi configuration admin.

+ +

+ +

The OSGi installer itself is "just" the central service managing the tasks and states of the artifacts. The artifacts can be provided through various providers, e.g. through a file system provider reading artifacts from configured directories or the jcr provider reading artifacts from a JCR repository.

+ +

A provider is just scanning for artifacts and their removal. It informs the OSGi installer about new artifacts and removed artifacts. The provider itself has usually no knowledge about the contents of an artifact. It does not know about bundles, configurations etc.

+ +

As the OSGi installer itself is not performing the actual install, update or removal of an artifact, its possible to install transformers and installer factories. A transformer inspects the artifacts and tries to detect its type. By default, detecting of bundles and configurations is supported. The final service is an installer factory creating the actual task, like install this bundle, update that bundle etc.

+ +

It's possible to add own providers, transformers and installer factories to support custom scenarios.

+ +

Artifact Handling

+ +

Once an artifact is detected by a transformer, it gets a unique id. By default a bundle gets the symbolic name as the unique identifier and a configuration the PID.
+In addition to this id, an artifact gets a priority information from the provider. The priority is used if an artifact with the same id is provided several times from different locations. For example if a file system provider is scanning two directories and an artifact with the same id (like a configuration) is added to both directories, one should have precedence over the other. This is handled by the priority.

+ +

Artifacts with the same unique id are grouped and then sorted by priority and maybe other artifact dependent metadata like the bundle version. Only the first artifact in this sorted group is tried to be applied!

+ +

Bundle Handling

+ +

In general, the OSGi installer always tries to install the highest version of a bundle if several bundles with the same symbolic name are provided. In this case higher version wins over priority.
+If an installed bundle is removed by a provider, for example deleted in the repository, the OSGi installer uninstall the bundle.
+If a bundle is removed from a provider which is currently not installed, this has no effect at all.
+If an installed bundle is removed and another version of this bundle is provided (a lower version), than this one is installed instead. This is basically a downgrade of the bundle.
+If a bundle is installed and a higher version is provided, an upgrade is performed.
+If an installed bundle is managed via any other OSGi tooling, like uninstalling it through the web console, the OSGi installer does no action at all!

+ +

If a failure occurs during bundle installation or update, the OSGi installer will retry this as soon as another bundle has been installed. The common use case is an application installation with several bundles where one bundle depends on another. As they are installed in arbitrary order, this mechanism ensures that in the end all bundles are properly wired and installed.

+ +

When all artifacts have been processed (either install, update or delete), a package refresh is automatically called.

+ +

Versions and Snapshots

+ +

The OSGi installer asumes that a symbolic name and version (not a snapshot version) uniquely identifies a bundle. Obviously this is a common development requirement that a released version of an artifact never changes over time. Therefore, once a bundle with a specific version is installed, it will not be reinstalled if the corresponding artifact changes. For example, if bundle A with version 1.0 is put into the JCR repository, it gets installed. If now this jar in the repository is overwritten either with the same contents or with a different one, and this new artifact has again A as the symbolic name and version set to 1.0, nothing will happen as this exact bundle is already installed.

+ +

During development, SNAPSHOT versions should be used, like 1.0.0-SNAPSHOT (using the Maven convention). If a bundle with a snapshot version is changed, it gets updated by the OSGI installer.

+ +

Configuration Handling

+ +

In general the OSGi installer installs the configuration with the highes priority. For example in combination with the JCR installer provider, a configuration from /apps is preferred over a configuration for the same service from /libs.

+
+Last modified by cziegeler@apache.org on 2011-10-11 07:59:17.0 +
+
+Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. +
+
+ + + Propchange: sling/site/trunk/content/site/osgi-installer.html ------------------------------------------------------------------------------ svn:eol-style = native Propchange: sling/site/trunk/content/site/osgi-installer.html ------------------------------------------------------------------------------ svn:keywords = Id Propchange: sling/site/trunk/content/site/osgi-installer.html ------------------------------------------------------------------------------ svn:mime-type = text/plain