You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Scott Yeadon <sc...@anu.edu.au> on 2004/11/08 06:17:59 UTC

Authentication: logout redirect

Hi,

I have the following in my sitemap, but I can't get the logout to 
redirect, all I get is a blank page. The logout handle is executing 
without any problem but I can't get a redirect happening.

<map:match pattern="logout">
  <map:act type="auth-logout">
    <map:parameter name="handler" value="testauth"/>
    <map:redirect-to uri="http://google.com/"/>
  </map:act>
</map:match>

Any clues on how to make this happen in the sitemap?

Scott.


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


Re: Authentication: logout redirect

Posted by Scott Yeadon <sc...@anu.edu.au>.
Tried that, gives me the same thing, just a blank page.

Johnson wrote:

> try this
>
> <map:match pattern="logout">
> <map:act type="auth-logout">
> <map:parameter name="handler" value="testauth"/>
> </map:act>
> <map:redirect-to uri="http://google.com/"/>
> </map:match>
>
>
> ----- Original Message ----- From: "Scott Yeadon"
> <sc...@anu.edu.au>
> To: <us...@cocoon.apache.org>
> Sent: Monday, November 08, 2004 1:17 PM
> Subject: Authentication: logout redirect
>
>
>> Hi,
>>
>> I have the following in my sitemap, but I can't get the logout to
>> redirect, all I get is a blank page. The logout handle is executing
>> without any problem but I can't get a redirect happening.
>>
>> <map:match pattern="logout">
>> <map:act type="auth-logout">
>> <map:parameter name="handler" value="testauth"/>
>> <map:redirect-to uri="http://google.com/"/>
>> </map:act>
>> </map:match>
>>
>> Any clues on how to make this happen in the sitemap?
>>
>> Scott.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>


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


Re: Authentication: logout redirect

Posted by Johnson <jo...@soho.club.tw>.
try this

<map:match pattern="logout">
 <map:act type="auth-logout">
   <map:parameter name="handler" value="testauth"/>
 </map:act>
 <map:redirect-to uri="http://google.com/"/>
</map:match>


----- Original Message ----- 
From: "Scott Yeadon" <sc...@anu.edu.au>
To: <us...@cocoon.apache.org>
Sent: Monday, November 08, 2004 1:17 PM
Subject: Authentication: logout redirect


> Hi,
> 
> I have the following in my sitemap, but I can't get the logout to 
> redirect, all I get is a blank page. The logout handle is executing 
> without any problem but I can't get a redirect happening.
> 
> <map:match pattern="logout">
>  <map:act type="auth-logout">
>    <map:parameter name="handler" value="testauth"/>
>    <map:redirect-to uri="http://google.com/"/>
>  </map:act>
> </map:match>
> 
> Any clues on how to make this happen in the sitemap?
> 
> Scott.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org

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