A document has been updated:

http://cocoon.zones.apache.org/daisy/documentation/1315.html

Document ID: 1315
Branch: main
Language: default
Name: Installation (unchanged)
Document Type: Cocoon Document (unchanged)
Updated on: 1/13/07 9:03:13 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: 3869 bytes (previous version: 4041 bytes)
Content diff:
(40 equal lines skipped)
    Auth is build around the notion of an application with an attached security
    handler, you need to configure both: a security handler and an 
application:</p>
    
--- <pre>
--- &lt;bean name="org.apache.cocoon.auth.SecurityHandler/handler" 
+++ <pre>&lt;bean name="org.apache.cocoon.auth.SecurityHandler/handler" 
               class="org.apache.cocoon.auth.impl.PipelineSecurityHandler"
      scope="singleton"&gt;
      &lt;property name="authenticationResource" 
value="cocoon:raw:/sunrise-authuser"/&gt;
(9 equal lines skipped)
    
    <p>Configure a security handler that uses a pipeline for authenticating the 
user
    and configure the pipeline - this is the same pipeline you are using with 
the
--- authentication-fw.</p>
--- 
--- <pre>
--- 
--- </pre>
--- 
--- <p>Then configure an application that uses the standard implementation and 
give
--- the previously created handler as a configuration value.</p>
--- 
--- <pre>
--- 
--- </pre>
--- 
--- <p>The next step is to change the usage of the actions - the 
authentication-fw
+++ authentication-fw. Then configure an application that uses the standard
+++ implementation and give the previously created handler as a configuration 
value.
+++ The next step is to change the usage of the actions - the authentication-fw
    block uses a set of actions starting with the prefix "auth-".</p>
    
--- <pre>
--- 
--- </pre>
--- 
    <h3>Login action</h3>
    
--- <pre>
--- 
--- </pre>
--- 
    <p>You can simply change the usage of the <em>auth-login</em> action to
    <em>cauth-login</em>. Rename the parameter <em>handler</em> to
    <em>application</em> and set the value to your previously created 
application.
    </p>
    
--- <pre>
--- 
--- </pre>
--- 
    <h3>Logout action</h3>
    
--- <pre>
--- 
--- </pre>
--- 
    <p>You can simply change the usage of the <em>auth-logout</em> action to
--- <em>csuth-logout</em>. Rename the parameter <em>handler</em> to
+++ <em>cauth-logout</em>. Rename the parameter <em>handler</em> to
    <em>application</em> and set the value to your previously created 
application.
    </p>
    
--- <pre>
--- 
--- </pre>
--- 
    <h3>Protect Action</h3>
    
--- <pre>
--- 
--- </pre>
--- 
    <p>You can simply change the usage of the <em>auth-protect</em> action to
    <em>cauth-is-logged-in</em>. Rename the parameter <em>handler</em> to
    <em>application</em> and set the value to your previously created 
application.
    </p>
    
--- <pre>
+++ <h3>IsLoggedIn Action</h3>
    
--- </pre>
    
--- <h3>IsLoggedIn Action</h3>
+++ <pre/>
    
--- <pre>
--- </pre>
--- 
    <p>You can simply change the usage of the <em>auth-isloggedin</em> action to
    <em>cauth-is-logged-in</em>. Rename the parameter <em>handler</em> to
    <em>application</em> and set the value to your previously created 
application.
    </p>
    
--- <pre>
--- 
--- </pre>
--- 
    </body>
    </html>