Re: basic auth in T5

2013-05-02 Thread Angelo Chen
Hi, Thanks for the tip, it is in the servlet level, it will be nice if we can have a simply way to mark a certain route in tapestry5 with http basic authentication, the use case is, an app might have a very rich javascript client, and accessing pages with restful api, if those api can be protected

Re: basic auth in T5

2013-05-01 Thread Kalle Korhonen
Come on people - basic authentication is not that old... You can of course you the standard servlet container managed authentication whether you use form or basic authentication but it's not a requirement for basic. You can also use tapestry-security exactly the same way as you otherwise would and

Re: basic auth in T5

2013-05-01 Thread Taha Hafeez Siddiqi
Oops! Didn't get that (Not used Basic Authentication since a long long time). Http Basic auth is implemented at the container level. http://docs.oracle.com/cd/E19798-01/821-1841/bncck/index.html Once you are authenticated you can use the details (principal, roles) with the annotation approach

Re: basic auth in T5

2013-05-01 Thread Dmitry Gusev
Isn't HTTP Basic Auth is all done in web.xml? It is not related to Tapestry (or any other web framework) at all. On Thu, May 2, 2013 at 9:25 AM, Angelo Chen wrote: > Not yet, but that seems not the http basic auth. > > > On Thu, May 2, 2013 at 12:31 PM, Taha Hafeez Siddiqi < > tawus.tapes...@gma

Re: basic auth in T5

2013-05-01 Thread Angelo Chen
Not yet, but that seems not the http basic auth. On Thu, May 2, 2013 at 12:31 PM, Taha Hafeez Siddiqi < tawus.tapes...@gmail.com> wrote: > Did you try this. > > http://tapestryjava.blogspot.in/2009/12/securing-tapestry-pages-with.html > > regards > Taha > > On 02-May-2013, at 9:59 AM, Angelo Che

Re: basic auth in T5

2013-05-01 Thread Taha Hafeez Siddiqi
Did you try this. http://tapestryjava.blogspot.in/2009/12/securing-tapestry-pages-with.html regards Taha On 02-May-2013, at 9:59 AM, Angelo Chen wrote: > Hi, > > I'd like to put http basic authentication in some of page classes, not all, > is there a simple way to do this? probably an annotat