You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by Pups <va...@devcom.com> on 2011/06/21 16:17:41 UTC
Cookies service rebinding
Hi to All.
Is it possible to rebind or redefine standard
org.apache.tapestry5.services.Cookies service binded at the moment to the
CookiesImpl class???
Why I need it? Because of when existing CookiesImpl methods write a cookie
they use Request.isSecured() method to detect if cookie should be secured.
But I don't need it. When I use @Secure Login page and return from it to
non-secure Home page - secured login cookies are not go to the server. But I
really need them.
Thanks a lot.
--
View this message in context: http://tapestry.1045711.n5.nabble.com/Cookies-service-rebinding-tp4510749p4510749.html
Sent from the Tapestry - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org
Re: Cookies service rebinding
Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
On Wed, 22 Jun 2011 07:58:55 -0300, Pups <va...@devcom.com> wrote:
> Sorry for incorrect posting.
No problem. ;)
>
>
> Thiago H. de Paula Figueiredo wrote:
>>
>> Yes. Read the Tapestry-IoC documentation.
>>
>
> Could you please provide me with exact sample?
http://tapestry.apache.org/ioc-cookbook-overriding-ioc-services.html
--
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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org
Re: Cookies service rebinding
Posted by Pups <va...@devcom.com>.
Sorry for incorrect posting.
Thiago H. de Paula Figueiredo wrote:
>
> Yes. Read the Tapestry-IoC documentation.
>
Could you please provide me with exact sample?
--
View this message in context: http://tapestry.1045711.n5.nabble.com/Cookies-service-rebinding-tp4510749p4513645.html
Sent from the Tapestry - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org
Re: Cookies service rebinding
Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
On Tue, 21 Jun 2011 11:17:41 -0300, Pups <va...@devcom.com> wrote:
> Hi to All.
Hi!
> Is it possible to rebind or redefine standard
> org.apache.tapestry5.services.Cookies service binded at the moment to the
> CookiesImpl class???
Yes. Read the Tapestry-IoC documentation.
Please post questions to the users mailing list. ;)
--
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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org