Return-Path: Delivered-To: apmail-cocoon-docs-archive@www.apache.org Received: (qmail 17775 invoked from network); 31 Jan 2007 06:30:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 Jan 2007 06:30:02 -0000 Received: (qmail 61551 invoked by uid 500); 31 Jan 2007 06:30:08 -0000 Delivered-To: apmail-cocoon-docs-archive@cocoon.apache.org Received: (qmail 61516 invoked by uid 500); 31 Jan 2007 06:30:08 -0000 Mailing-List: contact docs-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: docs@cocoon.apache.org List-Id: Delivered-To: mailing list docs@cocoon.apache.org Received: (qmail 61504 invoked by uid 99); 31 Jan 2007 06:30:08 -0000 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.67] (HELO cocoon.zones.apache.org) (140.211.11.67) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Jan 2007 22:30:08 -0800 Message-ID: <28742912.1170224982255.JavaMail.daisy@cocoon.zones.apache.org> Date: Wed, 31 Jan 2007 06:29:42 +0000 (GMT+00:00) From: daisy@cocoon.zones.apache.org To: docs@cocoon.apache.org Subject: [DAISY] Updated: Security Handlers Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org A document has been updated: http://cocoon.zones.apache.org/daisy/documentation/1317.html Document ID: 1317 Branch: main Language: default Name: Security Handlers (unchanged) Document Type: Cocoon Document (unchanged) Updated on: 1/15/07 2:51:18 PM Updated by: Carsten Ziegeler A new version has been created, state: publish Parts ===== Content ------- This part has been updated. Mime type: text/xml (unchanged) File name: (unchanged) Size: 2366 bytes (previous version: 2473 bytes) Content diff: (21 equal lines skipped)

Let's have a look at a simple security handler configuration:

<bean name="org.apache.cocoon.auth.SecurityHandler/shop-handler"
---            class="org.apache.cocoon.auth"
+++            class="org.apache.cocoon.auth.impl.SimpleSecurityHandler"
      scope="singleton">
        ... Configuration for the handler - if required
    </bean>        
(19 equal lines skipped)
    

The application will not have a login form and the user is logged into the application as soon as he invokes the first page of the application.

---

Using the anonymous security handler is easy: just omit the security handler --- configuration on your application configuration!

---