You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Alex Romayev <ro...@yahoo.com> on 2002/11/04 18:32:18 UTC
Re: Authentication: redirect
I'm afraid this e-mail got missed over the weekend.
Carsten or anyone else familiar with 2.1
authentication would you be able to help?
Thanks,
-Alex
--- Alex Romayev <ro...@yahoo.com> wrote:
> Hello,
>
> I can't seem to figure out how to redirect back to a
> protected resource after the authentication. The
> sample only has one resource called "protected".
>
> For example, I would like to protect anything that
> is
> under cocoon/admin/*. Let's say someone requests
> cocoon/admin/add-user resource. I've noticed that
> when the framework redirects to the login resource
> it
> adds the following to the url:
>
> resource=%2Fcocoon%2Fadmin%2Fadd-user.
>
> Is there a way to retrieve this in the sitemap,
> i.e.,
> something like:
>
> <map:redirect-to uri="{request-param:resource}?
>
> Thanks,
> -Alex
>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>