You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Jamie Orchard-Hays <ja...@dang.com> on 2004/06/17 21:01:22 UTC

Re: filter redirecting to tapestry page?

If you're going to a Tapestry page with params, then you need to implement
IExternalPage on those pages that you want external links.

Second, if you're not using JAAS, you'll be able to do some intercept (if
!loggedIn), set a callback (use ExternalCallback) and then proceed to your
page after you login by calling activateExternalPage().

Jamie


----- Original Message ----- 
From: <sp...@rhoderunner.com>
To: <ta...@jakarta.apache.org>
Sent: Thursday, June 17, 2004 3:23 PM
Subject: filter redirecting to tapestry page?


> I have a java servlet filter that needs to send a redirect to a
> tapestry page with some additional query parameters.
>
> For example, if i go to app1.jsso.org and do not have a valid
> session, I want to do a http redirect from a servlet filter to a tapestry
> login page on login.jsso.org, with the original destination encoded in the
> redirect.
>
> Tapestry needs to pickup the original destination url query parameter and
> issue the redirect back the origination server after the login.
>
> I have this working in servlets/jsp but there are a lot of other
> administrative functionality I need to create and would like to use
> tapestry across the board.
>
> I see examples of rendering tapestry url's in JSP, but my java filter will
> have no knowledge of tapestry, it just wants to send a redirect to the
> login server (which will be a tapestry application).
>
> Thanks.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org