Re: T5.1 - authenticating page access & contributing a sevice

2010-10-05 Thread Richard Hill
Hi Thiago, That's tremendous, thanks for the help. R. -Original Message- From: Thiago H. de Paula Figueiredo Reply-to: "Tapestry users" To: Tapestry users Subject: Re: T5.1 - authenticating page access & contributing a sevice Date: Tue, 05 Oct 2010 12:28:41 -0

Re: T5.1 - authenticating page access & contributing a sevice

2010-10-05 Thread Thiago H. de Paula Figueiredo
On Tue, 05 Oct 2010 12:01:57 -0300, Richard Hill wrote: Hi All, Hi! Now my question is two-fold: 1) How do I define and contribute a service in tapestry? Using Tapestry IoC: http://tapestry.apache.org/tapestry5.1/tapestry-ioc/service.html. 2) How does this guy know that the user _

T5.1 - authenticating page access & contributing a sevice

2010-10-05 Thread Richard Hill
Hi All, I know there has been some discussion on best approaches in tapestry for authenticating access to web pages, so apologies if i have missed the answer to this: Initially I was tempted by the simplest approach - that is just store some "UserState" in the session via @SessionState and check