cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Johnston" <coc...@lojjic.net>
Subject Re: Authentication via sitemap
Date Mon, 27 Mar 2006 00:15:48 GMT
> I'm just starting to look at very simple authentication, using
> http://cocoon.apache.org/2.1/developing/webapps/authentication/authenticating_user.html
> as a guide.

> It looks straightforward enough, but there's one missing item of
> information. For "Using a URI as the authentication resource" it
> gives sample code for
>
> <autentication-manager>
>    <handlers>
>      <!-- Now follows the handlers configuration -->
>      <handler name="portalhandler">
>        <!-- The login resource -->
>        <redirect-to uri="cocoon:/sunspotdemoportal"/>
>        <authentication uri="cocoon:raw:/sunrise-authuser"/>
>      </handler>
>    </handlers>
> </autentication-manager>
>
> but it doesn't say where in the sitemap.xmap you put this, and
> I can't see anywhere obvious that it should go.

It's described in the previous page of the auth framework documentation:
http://cocoon.apache.org/2.1/developing/webapps/authentication/authentication-handler.html

<map:pipelines>
  <map:component-configurations>
    <authentication-manager>
       ...

I believe it could also go in cocoon.xconf, but having it in the sitemap
is simpler.




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message