users@jersey.java.net

Re: [Jersey] Best way to deal with authentication

From: NBW <emailnbw_at_gmail.com>
Date: Fri, 28 May 2010 09:18:09 -0400

HI Fred,

I've had the same question as of late. We've been using a ServletFilter but
I wished there was something in the Jersey API that would let you annotate
security at the method level in your Resources etc.

-Noah

2010/5/28 Frédéric Bouquet <bouquet.frederic_at_gmail.com>

> Hi,
>
> Is there a better way to deal with authentication than filters ?
>
> With filters, is there a way to say that a resource don't need an
> authentication ? In web.xml by saying don't filter this resource or at
> lower level with pattern matching in the filter class ?
>
> Thanks,
>
> Fred
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>
>