You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by "Angelo C." <an...@gmail.com> on 2011/06/28 08:24:25 UTC

T5: @Secure and https with subdomain

Hi,

I have tried the @Secure, it will automatically direct to
https:/sample.com/pay, now I have a special requirement, it should direct
to:

https://safe.sample.com/pay,  any idea how to accomplish this? Thanks,

Angelo

--
View this message in context: http://tapestry.1045711.n5.nabble.com/T5-Secure-and-https-with-subdomain-tp4530831p4530831.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

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


Re: T5: @Secure and https with subdomain

Posted by Sigbjørn Tvedt <si...@gmail.com>.
If you only want requests to https://sample.com/pay to be redirected, you
could create a page that redirects the user.
Take a look at the jumpstart example for using URLs as a return type.

http://jumpstart.doublenegative.com.au/jumpstart/examples/navigation/returntypes1


Sigbjørn

On Tue, Jun 28, 2011 at 08:57, Angelo C. <an...@gmail.com> wrote:

> hi,
>
> if force a different host name, should it be another t5 app?
>
> Angelo
>
>
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/T5-Secure-and-https-with-subdomain-tp4530831p4530924.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

Re: T5: @Secure and https with subdomain

Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
On Tue, 28 Jun 2011 03:57:44 -0300, Angelo C. <an...@gmail.com>  
wrote:

> hi,

Hi!

> if force a different host name, should it be another t5 app?

No.

-- 
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

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


Re: T5: @Secure and https with subdomain

Posted by "Angelo C." <an...@gmail.com>.
hi,

if force a different host name, should it be another t5 app?

Angelo


--
View this message in context: http://tapestry.1045711.n5.nabble.com/T5-Secure-and-https-with-subdomain-tp4530831p4530924.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

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


Re: T5: @Secure and https with subdomain

Posted by Martin Strand <do...@gmail.com>.
On Tue, 28 Jun 2011 08:24:25 +0200, Angelo C. <an...@gmail.com>  
wrote:

> I have tried the @Secure, it will automatically direct to
> https:/sample.com/pay, now I have a special requirement, it should direct
> to:
>
> https://safe.sample.com/pay,  any idea how to accomplish this?

You can override the default implementation of BaseURLSource and force a  
different hostname for secure URLs. Check the second half of this page for  
an example:
http://tapestry.apache.org/https.html

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