Return-Path: Delivered-To: apmail-cocoon-cvs-archive@www.apache.org Received: (qmail 76224 invoked from network); 11 Jan 2008 07:23:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Jan 2008 07:23:48 -0000 Received: (qmail 7969 invoked by uid 500); 11 Jan 2008 07:23:37 -0000 Delivered-To: apmail-cocoon-cvs-archive@cocoon.apache.org Received: (qmail 7851 invoked by uid 500); 11 Jan 2008 07:23:37 -0000 Mailing-List: contact cvs-help@cocoon.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@cocoon.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@cocoon.apache.org Received: (qmail 7829 invoked by uid 99); 11 Jan 2008 07:23:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jan 2008 23:23:37 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Jan 2008 07:23:29 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 018151A9846; Thu, 10 Jan 2008 23:23:19 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r611088 [4/8] - in /cocoon/site/site/2.1: ./ developing/ developing/portal/ developing/portal/coplets/ developing/webapps/ developing/webapps/authentication/ faq/ howto/ installing/ plan/documentation/ plan/otherplanning/ plan/overview/ sni... Date: Fri, 11 Jan 2008 07:22:19 -0000 To: cvs@cocoon.apache.org From: cziegeler@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080111072319.018151A9846@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Modified: cocoon/site/site/2.1/developing/avalon.html URL: http://svn.apache.org/viewvc/cocoon/site/site/2.1/developing/avalon.html?rev=611088&r1=611087&r2=611088&view=diff ============================================================================== --- cocoon/site/site/2.1/developing/avalon.html (original) +++ cocoon/site/site/2.1/developing/avalon.html Thu Jan 10 23:21:44 2008 @@ -3,7 +3,7 @@ - + Avalon for Apache Cocoon @@ -86,7 +86,7 @@ |breadtrail +-->
- +  

Avalon for Apache Cocoon

+

Goal

Modified: cocoon/site/site/2.1/developing/datasources.html URL: http://svn.apache.org/viewvc/cocoon/site/site/2.1/developing/datasources.html?rev=611088&r1=611087&r2=611088&view=diff ============================================================================== --- cocoon/site/site/2.1/developing/datasources.html (original) +++ cocoon/site/site/2.1/developing/datasources.html Thu Jan 10 23:21:44 2008 @@ -3,7 +3,7 @@ - + Using Databases in Apache Cocoon @@ -86,7 +86,7 @@ |breadtrail +-->
- +  

Using Databases in Apache Cocoon

+

How do I choose my database?

Modified: cocoon/site/site/2.1/developing/deli.html URL: http://svn.apache.org/viewvc/cocoon/site/site/2.1/developing/deli.html?rev=611088&r1=611087&r2=611088&view=diff ============================================================================== --- cocoon/site/site/2.1/developing/deli.html (original) +++ cocoon/site/site/2.1/developing/deli.html Thu Jan 10 23:21:44 2008 @@ -3,7 +3,7 @@ - + DELI @@ -86,7 +86,7 @@ |breadtrail +-->
- +  

DELI

+

Introduction

Modified: cocoon/site/site/2.1/developing/deliquick.html URL: http://svn.apache.org/viewvc/cocoon/site/site/2.1/developing/deliquick.html?rev=611088&r1=611087&r2=611088&view=diff ============================================================================== --- cocoon/site/site/2.1/developing/deliquick.html (original) +++ cocoon/site/site/2.1/developing/deliquick.html Thu Jan 10 23:21:44 2008 @@ -3,7 +3,7 @@ - + DELI Quick Start Guide @@ -86,7 +86,7 @@ |breadtrail +-->
- +  

DELI Quick Start Guide

+

DELI Quick Start Guide

Modified: cocoon/site/site/2.1/developing/extending.html URL: http://svn.apache.org/viewvc/cocoon/site/site/2.1/developing/extending.html?rev=611088&r1=611087&r2=611088&view=diff ============================================================================== --- cocoon/site/site/2.1/developing/extending.html (original) +++ cocoon/site/site/2.1/developing/extending.html Thu Jan 10 23:21:44 2008 @@ -3,7 +3,7 @@ - + Extending Apache Cocoon @@ -86,7 +86,7 @@ |breadtrail +-->
- +  

Extending Apache Cocoon

+

Introduction

Modified: cocoon/site/site/2.1/developing/httprequest.html URL: http://svn.apache.org/viewvc/cocoon/site/site/2.1/developing/httprequest.html?rev=611088&r1=611087&r2=611088&view=diff ============================================================================== --- cocoon/site/site/2.1/developing/httprequest.html (original) +++ cocoon/site/site/2.1/developing/httprequest.html Thu Jan 10 23:21:44 2008 @@ -3,7 +3,7 @@ - + Request Processing @@ -86,7 +86,7 @@ |breadtrail +-->
- +  

Request Processing

+

Introduction

Modified: cocoon/site/site/2.1/developing/index.html URL: http://svn.apache.org/viewvc/cocoon/site/site/2.1/developing/index.html?rev=611088&r1=611087&r2=611088&view=diff ============================================================================== --- cocoon/site/site/2.1/developing/index.html (original) +++ cocoon/site/site/2.1/developing/index.html Thu Jan 10 23:21:44 2008 @@ -3,7 +3,7 @@ - + Developer Documentation @@ -86,7 +86,7 @@ |breadtrail +-->
- +  

Developer Documentation

+

The usual Cocoon Developer profile

Modified: cocoon/site/site/2.1/developing/parent-component-manager.html URL: http://svn.apache.org/viewvc/cocoon/site/site/2.1/developing/parent-component-manager.html?rev=611088&r1=611087&r2=611088&view=diff ============================================================================== --- cocoon/site/site/2.1/developing/parent-component-manager.html (original) +++ cocoon/site/site/2.1/developing/parent-component-manager.html Thu Jan 10 23:21:44 2008 @@ -3,7 +3,7 @@ - + Parent Component Manager @@ -86,7 +86,7 @@ |breadtrail +-->
- +  

Parent Component Manager

+

Parent Component Manager

Modified: cocoon/site/site/2.1/developing/portal/authentication.html URL: http://svn.apache.org/viewvc/cocoon/site/site/2.1/developing/portal/authentication.html?rev=611088&r1=611087&r2=611088&view=diff ============================================================================== --- cocoon/site/site/2.1/developing/portal/authentication.html (original) +++ cocoon/site/site/2.1/developing/portal/authentication.html Thu Jan 10 23:21:44 2008 @@ -3,7 +3,7 @@ - + Authentication Framework @@ -87,7 +87,7 @@ |breadtrail +-->
- +  

Authentication Framework

+

Introduction

Modified: cocoon/site/site/2.1/developing/portal/basket.html URL: http://svn.apache.org/viewvc/cocoon/site/site/2.1/developing/portal/basket.html?rev=611088&r1=611087&r2=611088&view=diff ============================================================================== --- cocoon/site/site/2.1/developing/portal/basket.html (original) +++ cocoon/site/site/2.1/developing/portal/basket.html Thu Jan 10 23:21:44 2008 @@ -3,7 +3,7 @@ - + Portal: The Portal Basket @@ -87,7 +87,7 @@ |breadtrail +-->
- +  

Portal: The Portal Basket

+

Overview

Modified: cocoon/site/site/2.1/developing/portal/coplets.html URL: http://svn.apache.org/viewvc/cocoon/site/site/2.1/developing/portal/coplets.html?rev=611088&r1=611087&r2=611088&view=diff ============================================================================== --- cocoon/site/site/2.1/developing/portal/coplets.html (original) +++ cocoon/site/site/2.1/developing/portal/coplets.html Thu Jan 10 23:21:44 2008 @@ -3,7 +3,7 @@ - + Portal: Configuring Coplets @@ -87,7 +87,7 @@ |breadtrail +-->
- +  

Portal: Configuring Coplets

+

Overview

Modified: cocoon/site/site/2.1/developing/portal/coplets/cachinguricoplet.html URL: http://svn.apache.org/viewvc/cocoon/site/site/2.1/developing/portal/coplets/cachinguricoplet.html?rev=611088&r1=611087&r2=611088&view=diff ============================================================================== --- cocoon/site/site/2.1/developing/portal/coplets/cachinguricoplet.html (original) +++ cocoon/site/site/2.1/developing/portal/coplets/cachinguricoplet.html Thu Jan 10 23:21:44 2008 @@ -3,7 +3,7 @@ - + Portal: The CachingURICoplet @@ -87,7 +87,7 @@ |breadtrail +-->
- +  

Portal: The CachingURICoplet

-

The CachingURICoplet is an extension of the URICoplet (see previous -section) providing caching of the coplet content. -Usually the user of a portal only interacts with one single coplet at a time. As -the interaction redraws the whole portal page with several coplets, all coplets -are asked to give their content. In many situations this is not wanted. For -example if the coplet contains a form or has a state, asking the coplet to give -its content although the user has not submitted the form, might result in -unwanted responses.

-

Therefore the CachingURICoplet caches the content of a coplet in the session -of the user. All further requests are served from the cache until the user -interacts with exactly this coplet. In this case the cache is cleared, the -coplet is invoked again and the new content is cached for further requests.

-

If you want to disable the caching, you can specify the boolean attribute -cache-enabled with the value false in the coplet data -configuration.

-

You can also programmatically turn off caching for a coplet for a single -request by setting the attribute doNotCache with any value on the -coplet instance data. For example if you want to set this from flow:

-
     ...
-       var coplet = GET_THE_COPLET_INSTANCE_DATA;
-       coplet.setAttribute("doNotCache", "1");
-     ...
-     
-

By default the caching uri adapter ignores sizing events for clearing the -cache. This ensures that minimizing a coplet does not clear the cache. However, -if you want to disable the cache on a sizing event you can turn this on in the -configuration for a coplet data:

-
...
-<coplet-data id="Portal-Demo" name="standard">
-   <title>Introduction</title>
-   <coplet-base-data>CachingURICoplet</coplet-base-data>
-   <attribute>
-      <name>uri</name>
-      <value xsi:type="java:java.lang.String" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
-         cocoon:/coplets/docs/portal-demo.html
-      </value>
-   </attribute>
-   <attribute>
-      <name>ignore-sizing-events</name>
-      <value xsi:type="java:java.lang.Boolean" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">false</value>
-   </attribute>
-</coplet-data>
-...
-   
- +
+

The CachingURICoplet is an extension of the URICoplet (see previous Modified: cocoon/site/site/2.1/developing/portal/coplets/uricoplet.html URL: http://svn.apache.org/viewvc/cocoon/site/site/2.1/developing/portal/coplets/uricoplet.html?rev=611088&r1=611087&r2=611088&view=diff ============================================================================== --- cocoon/site/site/2.1/developing/portal/coplets/uricoplet.html (original) +++ cocoon/site/site/2.1/developing/portal/coplets/uricoplet.html Thu Jan 10 23:21:44 2008 @@ -3,7 +3,7 @@ - + Portal: The URICoplet @@ -87,7 +87,7 @@ |breadtrail +-->

- +  

Portal: The URICoplet

-

This section describes the URICoplet and the different possibilities to -configure it. For general configuration see the previous -section.

- +
+

This section describes the URICoplet and the different possibilities to Modified: cocoon/site/site/2.1/developing/portal/events.html URL: http://svn.apache.org/viewvc/cocoon/site/site/2.1/developing/portal/events.html?rev=611088&r1=611087&r2=611088&view=diff ============================================================================== --- cocoon/site/site/2.1/developing/portal/events.html (original) +++ cocoon/site/site/2.1/developing/portal/events.html Thu Jan 10 23:21:44 2008 @@ -3,7 +3,7 @@ - + Portal: Event Handling @@ -87,7 +87,7 @@ |breadtrail +-->

- +  

Portal: Event Handling

+

Overview

Modified: cocoon/site/site/2.1/developing/portal/forms.html URL: http://svn.apache.org/viewvc/cocoon/site/site/2.1/developing/portal/forms.html?rev=611088&r1=611087&r2=611088&view=diff ============================================================================== --- cocoon/site/site/2.1/developing/portal/forms.html (original) +++ cocoon/site/site/2.1/developing/portal/forms.html Thu Jan 10 23:21:44 2008 @@ -3,7 +3,7 @@ - + Portal: Using forms @@ -87,7 +87,7 @@ |breadtrail +-->
- +  

Portal: Using forms

+

Overview

Modified: cocoon/site/site/2.1/developing/portal/index.html URL: http://svn.apache.org/viewvc/cocoon/site/site/2.1/developing/portal/index.html?rev=611088&r1=611087&r2=611088&view=diff ============================================================================== --- cocoon/site/site/2.1/developing/portal/index.html (original) +++ cocoon/site/site/2.1/developing/portal/index.html Thu Jan 10 23:21:44 2008 @@ -3,7 +3,7 @@ - + Portal: Portals in Cocoon @@ -87,7 +87,7 @@ |breadtrail +-->
- +  

Portal: Portals in Cocoon

+

Overview

Modified: cocoon/site/site/2.1/developing/portal/layout_skins.html URL: http://svn.apache.org/viewvc/cocoon/site/site/2.1/developing/portal/layout_skins.html?rev=611088&r1=611087&r2=611088&view=diff ============================================================================== --- cocoon/site/site/2.1/developing/portal/layout_skins.html (original) +++ cocoon/site/site/2.1/developing/portal/layout_skins.html Thu Jan 10 23:21:44 2008 @@ -3,7 +3,7 @@ - + Portal: Layout and Skins @@ -87,7 +87,7 @@ |breadtrail +-->
- +  

Portal: Layout and Skins

+

Create a new skin for your portal

Modified: cocoon/site/site/2.1/developing/portal/portal-block.html URL: http://svn.apache.org/viewvc/cocoon/site/site/2.1/developing/portal/portal-block.html?rev=611088&r1=611087&r2=611088&view=diff ============================================================================== --- cocoon/site/site/2.1/developing/portal/portal-block.html (original) +++ cocoon/site/site/2.1/developing/portal/portal-block.html Thu Jan 10 23:21:44 2008 @@ -3,7 +3,7 @@ - + Portal: Configuration @@ -87,7 +87,7 @@ |breadtrail +-->
- +  

Portal: Configuration

+

Introducing the Cocoon Portal

Modified: cocoon/site/site/2.1/developing/portal/profiles.html URL: http://svn.apache.org/viewvc/cocoon/site/site/2.1/developing/portal/profiles.html?rev=611088&r1=611087&r2=611088&view=diff ============================================================================== --- cocoon/site/site/2.1/developing/portal/profiles.html (original) +++ cocoon/site/site/2.1/developing/portal/profiles.html Thu Jan 10 23:21:44 2008 @@ -3,7 +3,7 @@ - + Portal: Configuring Profiles @@ -87,7 +87,7 @@ |breadtrail +-->
- +  

Portal: Configuring Profiles

+

Overview

Modified: cocoon/site/site/2.1/developing/portal/wsrp.html URL: http://svn.apache.org/viewvc/cocoon/site/site/2.1/developing/portal/wsrp.html?rev=611088&r1=611087&r2=611088&view=diff ============================================================================== --- cocoon/site/site/2.1/developing/portal/wsrp.html (original) +++ cocoon/site/site/2.1/developing/portal/wsrp.html Thu Jan 10 23:21:44 2008 @@ -3,7 +3,7 @@ - + WSRP Support @@ -87,7 +87,7 @@ |breadtrail +-->
- +  

WSRP Support

+

General information

Modified: cocoon/site/site/2.1/developing/source.html URL: http://svn.apache.org/viewvc/cocoon/site/site/2.1/developing/source.html?rev=611088&r1=611087&r2=611088&view=diff ============================================================================== --- cocoon/site/site/2.1/developing/source.html (original) +++ cocoon/site/site/2.1/developing/source.html Thu Jan 10 23:21:44 2008 @@ -3,7 +3,7 @@ - + Cocoon Source Resolving @@ -86,7 +86,7 @@ |breadtrail +-->
- +  

Cocoon Source Resolving

+

Differences between Cocoon and Avalon Excalibur Source Resolving

Modified: cocoon/site/site/2.1/developing/stores.html URL: http://svn.apache.org/viewvc/cocoon/site/site/2.1/developing/stores.html?rev=611088&r1=611087&r2=611088&view=diff ============================================================================== --- cocoon/site/site/2.1/developing/stores.html (original) +++ cocoon/site/site/2.1/developing/stores.html Thu Jan 10 23:21:44 2008 @@ -3,7 +3,7 @@ - + Cocoon Source Resolving @@ -86,7 +86,7 @@ |breadtrail +-->
- +  

Cocoon Source Resolving

+

The Store Components in Cocoon

Modified: cocoon/site/site/2.1/developing/web3.html URL: http://svn.apache.org/viewvc/cocoon/site/site/2.1/developing/web3.html?rev=611088&r1=611087&r2=611088&view=diff ============================================================================== --- cocoon/site/site/2.1/developing/web3.html (original) +++ cocoon/site/site/2.1/developing/web3.html Thu Jan 10 23:21:44 2008 @@ -3,7 +3,7 @@ - + Web3 Connectivity Toolkit @@ -86,7 +86,7 @@ |breadtrail +-->
- +  

Web3 Connectivity Toolkit

+

About

Modified: cocoon/site/site/2.1/developing/webapps/authentication.html URL: http://svn.apache.org/viewvc/cocoon/site/site/2.1/developing/webapps/authentication.html?rev=611088&r1=611087&r2=611088&view=diff ============================================================================== --- cocoon/site/site/2.1/developing/webapps/authentication.html (original) +++ cocoon/site/site/2.1/developing/webapps/authentication.html Thu Jan 10 23:21:44 2008 @@ -3,7 +3,7 @@ - + Authentication Framework @@ -87,7 +87,7 @@ |breadtrail +-->
- +  

Authentication Framework

+

Introduction

Modified: cocoon/site/site/2.1/developing/webapps/authentication/application_management.html URL: http://svn.apache.org/viewvc/cocoon/site/site/2.1/developing/webapps/authentication/application_management.html?rev=611088&r1=611087&r2=611088&view=diff ============================================================================== --- cocoon/site/site/2.1/developing/webapps/authentication/application_management.html (original) +++ cocoon/site/site/2.1/developing/webapps/authentication/application_management.html Thu Jan 10 23:21:44 2008 @@ -3,7 +3,7 @@ - + Authentication Framework: Application Management @@ -87,7 +87,7 @@ |breadtrail +-->
- +  

Authentication Framework: Application Management

-

The application management is a very useful feature for building and -maintaining web applications. A developer uses it to configure different -applications and to manage the user data for these applications.

- +
+

The application management is a very useful feature for building and Modified: cocoon/site/site/2.1/developing/webapps/authentication/authenticating_user.html URL: http://svn.apache.org/viewvc/cocoon/site/site/2.1/developing/webapps/authentication/authenticating_user.html?rev=611088&r1=611087&r2=611088&view=diff ============================================================================== --- cocoon/site/site/2.1/developing/webapps/authentication/authenticating_user.html (original) +++ cocoon/site/site/2.1/developing/webapps/authentication/authenticating_user.html Thu Jan 10 23:21:44 2008 @@ -3,7 +3,7 @@ - + Authentication Framework: Authenticating a User @@ -87,7 +87,7 @@ |breadtrail +-->

- +  

Authentication Framework: Authenticating a User

-

Usually, the redirect-to document of a handler contains a form for -the user to authenticate. But of course, you are not limited to this. No matter -how the redirect-to document looks like, the user has "somewhere" the -abilitiy to authenticate, so in most cases the user has a form where he can -enter his information (e.g. user name and password). You have to write a -pipeline presenting this form to the user. When the form is submitted, the -authentication process has to be started inside the authentication framework. As -a submit of a form invokes a request to Cocoon, a pipeline in the sitemap is -triggered. We refer to this pipeline as a login pipeline.

- +
+

Usually, the redirect-to document of a handler contains a form for Modified: cocoon/site/site/2.1/developing/webapps/authentication/authentication-handler.html URL: http://svn.apache.org/viewvc/cocoon/site/site/2.1/developing/webapps/authentication/authentication-handler.html?rev=611088&r1=611087&r2=611088&view=diff ============================================================================== --- cocoon/site/site/2.1/developing/webapps/authentication/authentication-handler.html (original) +++ cocoon/site/site/2.1/developing/webapps/authentication/authentication-handler.html Thu Jan 10 23:21:44 2008 @@ -3,7 +3,7 @@ - + Authentication Framework: The Authentication Handler @@ -87,7 +87,7 @@ |breadtrail +-->

- +  

Authentication Framework: The Authentication Handler

+

Modified: cocoon/site/site/2.1/developing/webapps/authentication/module_management.html URL: http://svn.apache.org/viewvc/cocoon/site/site/2.1/developing/webapps/authentication/module_management.html?rev=611088&r1=611087&r2=611088&view=diff ============================================================================== --- cocoon/site/site/2.1/developing/webapps/authentication/module_management.html (original) +++ cocoon/site/site/2.1/developing/webapps/authentication/module_management.html Thu Jan 10 23:21:44 2008 @@ -3,7 +3,7 @@ - + Authentication Framework: Module Management @@ -87,7 +87,7 @@ |breadtrail +-->
- +  

Authentication Framework: Module Management

-

In addition to the application management feature, the framework offers a -facility called module management. It enhances the application management by -adding the possibility of configuring components for the application. For -example, the Cocoon portal engine needs information about the source of the -portal profile for the user, about where the layout is stored, etc. Each portal -needs this information. Assuming that a portal is an application each -application needs this information. As only the portal engine itself knows what -information it needs, the module management is a standarized way for configuring -such components.

-

The module configuration is part of the application configuration:

-
<autentication-manager>
-  <handlers>
-    <handler name="unique">
-      ....redirect-to/authentication configuration
-      <applications>  <!-- the applications for this handler -->
-        <application name="unique">
-          ...
-          <configuration name="portal">
-            ...portal configuration
-          </configuration>
-        </application>
-      </applications>
-    </handler>
-  </handlers>
-</autentication-manager>
-

So whenever the portal engine is asked to build the portal it can easily -retrieve its configuration from the current application by getting the module -configuration named "portal".

- - +
+

In addition to the application management feature, the framework offers a Modified: cocoon/site/site/2.1/developing/webapps/authentication/pipeline_patterns.html URL: http://svn.apache.org/viewvc/cocoon/site/site/2.1/developing/webapps/authentication/pipeline_patterns.html?rev=611088&r1=611087&r2=611088&view=diff ============================================================================== --- cocoon/site/site/2.1/developing/webapps/authentication/pipeline_patterns.html (original) +++ cocoon/site/site/2.1/developing/webapps/authentication/pipeline_patterns.html Thu Jan 10 23:21:44 2008 @@ -3,7 +3,7 @@ - + Authentication Framework: Pipeline Patterns @@ -87,7 +87,7 @@ |breadtrail +-->

- +  

Authentication Framework: Pipeline Patterns

-

As explained in the previous chapters, the framework uses the -auth-protect action for authentication and protecting documents. This -chapter shows some commonly used pipeline patterns.

- +
+

As explained in the previous chapters, the framework uses the Modified: cocoon/site/site/2.1/developing/webapps/authentication/summary.html URL: http://svn.apache.org/viewvc/cocoon/site/site/2.1/developing/webapps/authentication/summary.html?rev=611088&r1=611087&r2=611088&view=diff ============================================================================== --- cocoon/site/site/2.1/developing/webapps/authentication/summary.html (original) +++ cocoon/site/site/2.1/developing/webapps/authentication/summary.html Thu Jan 10 23:21:44 2008 @@ -3,7 +3,7 @@ - + Authentication Framework: Configuration Summary @@ -87,7 +87,7 @@ |breadtrail +-->

- +  

Authentication Framework: Configuration Summary

-

Here is a brief summary of the authentication handler configuration:

-
<autentication-manager>
-  <handlers>
-    <handler name="unique">
-      <!-- The redirect-to resource -->
-      <redirect-to uri="cocoon:raw://loginpage"/>
-      <!-- Authentication resource -->
-      <authentication uri="cocoon:raw://authenticationresource"/>
-
-      <load uri="cocoon:raw://authenticationsaveresource">
-        <!-- optional parameters -->
-      </load>
-      <!-- optional save resource -->
-      <save uri="cocoon:raw://authenticationsaveresource">
-        <!-- optional parameters -->
-      </save>
-
-      <applications>
-        <!-- the applications for this handler -->
-        <application name="unique">
-
-          <!-- Loading/Saving -->
-          <load uri="cocoon:raw://loadapp">
-            <!-- optional -->
-            <!-- optional parameters -->
-          </load>
-          <save uri="cocoon:raw://saveapp">
-            <!-- optional -->
-            <!-- optional parameters -->
-          </save>
-          <!-- module configurations: -->
-
-          <configuration name="portal">
-            ...portal configuration
-          </configuration>
-        </application>
-      </applications>
-
-    </handler>
-  </handlers>
-</autentication-manager>
- - +
+

Here is a brief summary of the authentication handler configuration:

Modified: cocoon/site/site/2.1/developing/webapps/authentication/user_administration.html URL: http://svn.apache.org/viewvc/cocoon/site/site/2.1/developing/webapps/authentication/user_administration.html?rev=611088&r1=611087&r2=611088&view=diff ============================================================================== --- cocoon/site/site/2.1/developing/webapps/authentication/user_administration.html (original) +++ cocoon/site/site/2.1/developing/webapps/authentication/user_administration.html Thu Jan 10 23:21:44 2008 @@ -3,7 +3,7 @@ - + Authentication Framework: User Administration @@ -87,7 +87,7 @@ |breadtrail +-->
- +  

Authentication Framework: User Administration

-

Using the framework, it is possible to add new roles to the system and to add -new users. For this purpose, there are several optional entries for the -authentication handler which provide the needed functionality:

-
<autentication-manager>
-  <handlers>
-    <handler name="unique">
-             ...redirect-to/authentication configuration...
-
-      <!-- Optional resource for loading user information -->
-      <load-users uri="cocoon:raw://financeresource-sunrise-loaduser"/>
-
-      <!-- Optional resource for loading roles information-->
-      <load-roles uri="cocoon:raw://financeresource-sunrise-roles"/>
-
-      <!-- Optional resource for creating a new user -->
-      <new-user uri="cocoon:raw://financeresource-sunrise-newuser"/>
-
-      <!-- Optional resource for creating a new role -->
-      <new-role uri="cocoon:raw://financeresource-sunrise-newrole"/>
-
-      <!-- Optional resource for changing user information -->
-      <change-user uri="cocoon:raw://financeresource-sunrise-newuser"/>
-
-      <!-- Optional resource for deleting a role -->
-      <delete-role uri="cocoon:raw://financeresource-sunrise-delrole"/>
-
-      <!-- Optional resource for deleting a user-->
-      <delete-user uri="cocoon:raw://financeresource-sunrise-deluser"/>
-    </handler>
-  </handlers>
-</autentication-manager>
-

The entries are described in the following subchapters. All tags can have -additional parameter definitions which are passed to the given resource, e.g: -

-
<!-- Optional resource for deleting a user-->
-<delete-user uri="cocoon:raw://financeresource-sunrise-deluser">
-  <connection>database</connection>
-  <url>db:usertable</url>
-</delete-user>
- +
+

Using the framework, it is possible to add new roles to the system and to add Modified: cocoon/site/site/2.1/developing/webapps/authentication/user_management.html URL: http://svn.apache.org/viewvc/cocoon/site/site/2.1/developing/webapps/authentication/user_management.html?rev=611088&r1=611087&r2=611088&view=diff ============================================================================== --- cocoon/site/site/2.1/developing/webapps/authentication/user_management.html (original) +++ cocoon/site/site/2.1/developing/webapps/authentication/user_management.html Thu Jan 10 23:21:44 2008 @@ -3,7 +3,7 @@ - + Authentication Framework: User Management @@ -87,7 +87,7 @@ |breadtrail +-->

- +  

Authentication Framework: User Management

-

In addition to the authentication, the framework manages all kinds of -information belonging to the user. For this reason the framework creates its own -session context called authentication. All information is stored in -this context in an XML structure.

-

The authentication information (the "authentication" scheme retrieved from -the authentication resource) is stored in this context, so you can retrieve and -change the information using the session transformer and the usual getxml, -setxml etc. commands, so we suggest you to read the session context document. -

-
-
Note
-
The authentication context is only available to the -session transformer if the pipeline in which the transformer is -running, is associated with the (authentication) handler. Or putting it in other -words, you have to use the auth-project action in that pipeline. -Otherwise the authentication context is not available.
-
- +
+

In addition to the authentication, the framework manages all kinds of Modified: cocoon/site/site/2.1/developing/webapps/contexts.html URL: http://svn.apache.org/viewvc/cocoon/site/site/2.1/developing/webapps/contexts.html?rev=611088&r1=611087&r2=611088&view=diff ============================================================================== --- cocoon/site/site/2.1/developing/webapps/contexts.html (original) +++ cocoon/site/site/2.1/developing/webapps/contexts.html Thu Jan 10 23:21:44 2008 @@ -3,7 +3,7 @@ - + Session Contexts @@ -86,7 +86,7 @@ |breadtrail +-->

- +  

Session Contexts

+

Introduction

Modified: cocoon/site/site/2.1/developing/webapps/forms.html URL: http://svn.apache.org/viewvc/cocoon/site/site/2.1/developing/webapps/forms.html?rev=611088&r1=611087&r2=611088&view=diff ============================================================================== --- cocoon/site/site/2.1/developing/webapps/forms.html (original) +++ cocoon/site/site/2.1/developing/webapps/forms.html Thu Jan 10 23:21:44 2008 @@ -3,7 +3,7 @@ - + Simple Forms @@ -86,7 +86,7 @@ |breadtrail +-->
- +  

Simple Forms

+

Introduction

Modified: cocoon/site/site/2.1/developing/webapps/index.html URL: http://svn.apache.org/viewvc/cocoon/site/site/2.1/developing/webapps/index.html?rev=611088&r1=611087&r2=611088&view=diff ============================================================================== --- cocoon/site/site/2.1/developing/webapps/index.html (original) +++ cocoon/site/site/2.1/developing/webapps/index.html Thu Jan 10 23:21:44 2008 @@ -3,7 +3,7 @@ - + Webapps Developer Documentation @@ -86,7 +86,7 @@ |breadtrail +-->
- +  

Webapps Developer Documentation

+

Overview

Modified: cocoon/site/site/2.1/developing/webapps/portal.html URL: http://svn.apache.org/viewvc/cocoon/site/site/2.1/developing/webapps/portal.html?rev=611088&r1=611087&r2=611088&view=diff ============================================================================== --- cocoon/site/site/2.1/developing/webapps/portal.html (original) +++ cocoon/site/site/2.1/developing/webapps/portal.html Thu Jan 10 23:21:44 2008 @@ -3,7 +3,7 @@ - + Building Portals with Cocoon @@ -86,7 +86,7 @@ |breadtrail +-->
- +  

Building Portals with Cocoon

+

Introduction

Modified: cocoon/site/site/2.1/developing/webapps/session.html URL: http://svn.apache.org/viewvc/cocoon/site/site/2.1/developing/webapps/session.html?rev=611088&r1=611087&r2=611088&view=diff ============================================================================== --- cocoon/site/site/2.1/developing/webapps/session.html (original) +++ cocoon/site/site/2.1/developing/webapps/session.html Thu Jan 10 23:21:44 2008 @@ -3,7 +3,7 @@ - + Session Management @@ -86,7 +86,7 @@ |breadtrail +-->
- +  

Session Management

+

Introduction

Modified: cocoon/site/site/2.1/faq/faq-actions.html URL: http://svn.apache.org/viewvc/cocoon/site/site/2.1/faq/faq-actions.html?rev=611088&r1=611087&r2=611088&view=diff ============================================================================== --- cocoon/site/site/2.1/faq/faq-actions.html (original) +++ cocoon/site/site/2.1/faq/faq-actions.html Thu Jan 10 23:21:44 2008 @@ -3,7 +3,7 @@ - + Action FAQs @@ -86,7 +86,7 @@ |breadtrail +-->
- +  

Action FAQs

+

Modified: cocoon/site/site/2.1/faq/faq-aggregators.html URL: http://svn.apache.org/viewvc/cocoon/site/site/2.1/faq/faq-aggregators.html?rev=611088&r1=611087&r2=611088&view=diff ============================================================================== --- cocoon/site/site/2.1/faq/faq-aggregators.html (original) +++ cocoon/site/site/2.1/faq/faq-aggregators.html Thu Jan 10 23:21:44 2008 @@ -3,7 +3,7 @@ - + Aggregator FAQs @@ -86,7 +86,7 @@ |breadtrail +-->
- +  

Aggregator FAQs

+

Modified: cocoon/site/site/2.1/faq/faq-configure-c2.html URL: http://svn.apache.org/viewvc/cocoon/site/site/2.1/faq/faq-configure-c2.html?rev=611088&r1=611087&r2=611088&view=diff ============================================================================== --- cocoon/site/site/2.1/faq/faq-configure-c2.html (original) +++ cocoon/site/site/2.1/faq/faq-configure-c2.html Thu Jan 10 23:21:44 2008 @@ -3,7 +3,7 @@ - + Cocoon Configuration FAQs @@ -86,7 +86,7 @@ |breadtrail +-->
- +  

Cocoon Configuration FAQs

+

Modified: cocoon/site/site/2.1/faq/faq-configure-environment.html URL: http://svn.apache.org/viewvc/cocoon/site/site/2.1/faq/faq-configure-environment.html?rev=611088&r1=611087&r2=611088&view=diff ============================================================================== --- cocoon/site/site/2.1/faq/faq-configure-environment.html (original) +++ cocoon/site/site/2.1/faq/faq-configure-environment.html Thu Jan 10 23:21:44 2008 @@ -3,7 +3,7 @@ - + Environment Configuration FAQs @@ -86,7 +86,7 @@ |breadtrail +-->
- +  

Environment Configuration FAQs

+

Modified: cocoon/site/site/2.1/faq/faq-cvs.html URL: http://svn.apache.org/viewvc/cocoon/site/site/2.1/faq/faq-cvs.html?rev=611088&r1=611087&r2=611088&view=diff ============================================================================== --- cocoon/site/site/2.1/faq/faq-cvs.html (original) +++ cocoon/site/site/2.1/faq/faq-cvs.html Thu Jan 10 23:21:44 2008 @@ -3,7 +3,7 @@ - + CVS/SVN FAQs @@ -86,7 +86,7 @@ |breadtrail +-->
- +  

CVS/SVN FAQs

+

Modified: cocoon/site/site/2.1/faq/faq-databases.html URL: http://svn.apache.org/viewvc/cocoon/site/site/2.1/faq/faq-databases.html?rev=611088&r1=611087&r2=611088&view=diff ============================================================================== --- cocoon/site/site/2.1/faq/faq-databases.html (original) +++ cocoon/site/site/2.1/faq/faq-databases.html Thu Jan 10 23:21:44 2008 @@ -3,7 +3,7 @@ - + Database FAQs @@ -86,7 +86,7 @@ |breadtrail +-->
- +  

Database FAQs

+

Modified: cocoon/site/site/2.1/faq/faq-debugging.html URL: http://svn.apache.org/viewvc/cocoon/site/site/2.1/faq/faq-debugging.html?rev=611088&r1=611087&r2=611088&view=diff ============================================================================== --- cocoon/site/site/2.1/faq/faq-debugging.html (original) +++ cocoon/site/site/2.1/faq/faq-debugging.html Thu Jan 10 23:21:44 2008 @@ -3,7 +3,7 @@ - + Debugging FAQs @@ -86,7 +86,7 @@ |breadtrail +-->
- +  

Debugging FAQs

+

Modified: cocoon/site/site/2.1/faq/faq-generators.html URL: http://svn.apache.org/viewvc/cocoon/site/site/2.1/faq/faq-generators.html?rev=611088&r1=611087&r2=611088&view=diff ============================================================================== --- cocoon/site/site/2.1/faq/faq-generators.html (original) +++ cocoon/site/site/2.1/faq/faq-generators.html Thu Jan 10 23:21:44 2008 @@ -3,7 +3,7 @@ - + Cocoon Sitemap Generator FAQs @@ -86,7 +86,7 @@ |breadtrail +-->
- +  

Cocoon Sitemap Generator FAQs

+

Modified: cocoon/site/site/2.1/faq/faq-install.html URL: http://svn.apache.org/viewvc/cocoon/site/site/2.1/faq/faq-install.html?rev=611088&r1=611087&r2=611088&view=diff ============================================================================== --- cocoon/site/site/2.1/faq/faq-install.html (original) +++ cocoon/site/site/2.1/faq/faq-install.html Thu Jan 10 23:21:44 2008 @@ -3,7 +3,7 @@ - + Installation FAQs @@ -86,7 +86,7 @@ |breadtrail +-->
- +  

Installation FAQs

+

Modified: cocoon/site/site/2.1/faq/faq-matchers.html URL: http://svn.apache.org/viewvc/cocoon/site/site/2.1/faq/faq-matchers.html?rev=611088&r1=611087&r2=611088&view=diff ============================================================================== --- cocoon/site/site/2.1/faq/faq-matchers.html (original) +++ cocoon/site/site/2.1/faq/faq-matchers.html Thu Jan 10 23:21:44 2008 @@ -3,7 +3,7 @@ - + Cocoon Sitemap Matcher FAQs @@ -86,7 +86,7 @@ |breadtrail +-->
- +  

Cocoon Sitemap Matcher FAQs

+

Modified: cocoon/site/site/2.1/faq/faq-selectors.html URL: http://svn.apache.org/viewvc/cocoon/site/site/2.1/faq/faq-selectors.html?rev=611088&r1=611087&r2=611088&view=diff ============================================================================== --- cocoon/site/site/2.1/faq/faq-selectors.html (original) +++ cocoon/site/site/2.1/faq/faq-selectors.html Thu Jan 10 23:21:44 2008 @@ -3,7 +3,7 @@ - + Cocoon Sitemap Selector FAQs @@ -86,7 +86,7 @@ |breadtrail +-->
- +  

Cocoon Sitemap Selector FAQs

+

Modified: cocoon/site/site/2.1/faq/faq-serializers.html URL: http://svn.apache.org/viewvc/cocoon/site/site/2.1/faq/faq-serializers.html?rev=611088&r1=611087&r2=611088&view=diff ============================================================================== --- cocoon/site/site/2.1/faq/faq-serializers.html (original) +++ cocoon/site/site/2.1/faq/faq-serializers.html Thu Jan 10 23:21:44 2008 @@ -3,7 +3,7 @@ - + Cocoon Sitemap Serializer FAQs @@ -86,7 +86,7 @@ |breadtrail +-->
- +  

Cocoon Sitemap Serializer FAQs

+

Modified: cocoon/site/site/2.1/faq/faq-sitemap.html URL: http://svn.apache.org/viewvc/cocoon/site/site/2.1/faq/faq-sitemap.html?rev=611088&r1=611087&r2=611088&view=diff ============================================================================== --- cocoon/site/site/2.1/faq/faq-sitemap.html (original) +++ cocoon/site/site/2.1/faq/faq-sitemap.html Thu Jan 10 23:21:44 2008 @@ -3,7 +3,7 @@ - + Sitemap FAQs @@ -86,7 +86,7 @@ |breadtrail +-->
- +  

Sitemap FAQs

+

Modified: cocoon/site/site/2.1/faq/faq-transformers.html URL: http://svn.apache.org/viewvc/cocoon/site/site/2.1/faq/faq-transformers.html?rev=611088&r1=611087&r2=611088&view=diff ============================================================================== --- cocoon/site/site/2.1/faq/faq-transformers.html (original) +++ cocoon/site/site/2.1/faq/faq-transformers.html Thu Jan 10 23:21:44 2008 @@ -3,7 +3,7 @@ - + Cocoon Sitemap Transformer FAQs @@ -86,7 +86,7 @@ |breadtrail +-->
- +  

Cocoon Sitemap Transformer FAQs

+

Modified: cocoon/site/site/2.1/faq/faq-xslt.html URL: http://svn.apache.org/viewvc/cocoon/site/site/2.1/faq/faq-xslt.html?rev=611088&r1=611087&r2=611088&view=diff ============================================================================== --- cocoon/site/site/2.1/faq/faq-xslt.html (original) +++ cocoon/site/site/2.1/faq/faq-xslt.html Thu Jan 10 23:21:44 2008 @@ -3,7 +3,7 @@ - + XSLT FAQs @@ -86,7 +86,7 @@ |breadtrail +-->
- +  

XSLT FAQs

+

Modified: cocoon/site/site/2.1/faq/faq-xsp.html URL: http://svn.apache.org/viewvc/cocoon/site/site/2.1/faq/faq-xsp.html?rev=611088&r1=611087&r2=611088&view=diff ============================================================================== --- cocoon/site/site/2.1/faq/faq-xsp.html (original) +++ cocoon/site/site/2.1/faq/faq-xsp.html Thu Jan 10 23:21:44 2008 @@ -3,7 +3,7 @@ - + XSP FAQs @@ -86,7 +86,7 @@ |breadtrail +-->
- +  

XSP FAQs

+

Modified: cocoon/site/site/2.1/faq/index.html URL: http://svn.apache.org/viewvc/cocoon/site/site/2.1/faq/index.html?rev=611088&r1=611087&r2=611088&view=diff ============================================================================== --- cocoon/site/site/2.1/faq/index.html (original) +++ cocoon/site/site/2.1/faq/index.html Thu Jan 10 23:21:44 2008 @@ -3,7 +3,7 @@ - + Cocoon FAQs @@ -86,7 +86,7 @@ |breadtrail +-->
- +  

Cocoon FAQs

+

Overview