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
with http basic authentication, development will be easier.

Angelo


On Thu, May 2, 2013 at 2:06 PM, Taha Hafeez Siddiqi <
tawus.tapes...@gmail.com> wrote:

> 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.
>
> regards
> Taha
>
>
> On 02-May-2013, at 10:55 AM, Angelo Chen <angelochen...@gmail.com> 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...@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 Chen <angelochen...@gmail.com>
> 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 annotation approach?
> Thanks
> >>>
> >>> Angelo
> >>
> >>
>
>

Reply via email to