You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Mika Tammilehto <mi...@imis.ch> on 2006/09/04 14:21:33 UTC
Switching between HTTP / HTTPS
Hi!
Is there a "best-practice"-approach in Tapestry (4.0) to switch from
HTTP to HTTPS and back again, depending on the page?
We could write a servlet filter to switch to secure connection when
necessary but maybe there's a simple way to do it in Tapestry... any idea?
Thanks a lot in advance!
Cheers,
mika
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Switching between HTTP / HTTPS
Posted by Mika Tammilehto <mi...@imis.ch>.
Thanks! I'm gonna have a look at those frameworks. I've just noticed the
"scheme" parameter on the form component:
http://tapestry.apache.org/tapestry4/tapestry/ComponentReference/Form.html
May be this may help as well under some circumstances, but I think the
filter approach will be a lot more helpful to secure different sections
of the application globally.
Thanks again for the help!
mika
Kalle Korhonen wrote:
> Depends on the security framework you use, not really a Tapestry function.
> Acegi makes it configurable and also AppFuse has a configurable filter for
> it.
>
> Kalle
>
> On 9/4/06, Mika Tammilehto <mi...@imis.ch> wrote:
>>
>> Hi!
>>
>> Is there a "best-practice"-approach in Tapestry (4.0) to switch from
>> HTTP to HTTPS and back again, depending on the page?
>>
>> We could write a servlet filter to switch to secure connection when
>> necessary but maybe there's a simple way to do it in Tapestry... any
>> idea?
>>
>> Thanks a lot in advance!
>>
>> Cheers,
>> mika
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Switching between HTTP / HTTPS
Posted by Kalle Korhonen <ka...@gmail.com>.
Depends on the security framework you use, not really a Tapestry function.
Acegi makes it configurable and also AppFuse has a configurable filter for
it.
Kalle
On 9/4/06, Mika Tammilehto <mi...@imis.ch> wrote:
>
> Hi!
>
> Is there a "best-practice"-approach in Tapestry (4.0) to switch from
> HTTP to HTTPS and back again, depending on the page?
>
> We could write a servlet filter to switch to secure connection when
> necessary but maybe there's a simple way to do it in Tapestry... any idea?
>
> Thanks a lot in advance!
>
> Cheers,
> mika
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>