users@jersey.java.net

Re: [Jersey] Best way to deal with authentication

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Fri, 28 May 2010 16:51:07 +0200

Hi,

See:

https://jersey.dev.java.net/nonav/apidocs/latest/jersey/com/sun/jersey/api/container/filter/RolesAllowedResourceFilterFactory.html

Paul.

On May 28, 2010, at 3:18 PM, NBW wrote:

> 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
>
>