Re: [Jersey] _at_ServletSecurity and Application classes?

From: Moises Lejter <>
Date: Fri, 12 Feb 2010 10:48:43 -0600

Added as issue #470.

Thank you!


On Fri, Feb 12, 2010 at 8:10 AM, Paul Sandoz <> wrote:
> Having said that i could add such features to Jersey itself :-) after a
> brief look at the servlet API it looks reasonably trivial to do (although we
> do need to check if there is already any exist declaration in the web.xml).
> Could you log an enhancement?
> On Feb 11, 2010, at 7:34 PM, Moises Lejter wrote:
> I found out just recently that the Servlets 3.0 spec added annotations
>> (@ServletSecurity and so on) to capture security constraints declaratively,
>> rather than in the web.xml file.
>> As I understand it, though, Jersey doesn't understand this, yet, so I
>> would need to capture such constraints on web.xml, still - but between
>> @ApplicationPath and @ServletSecurity, I would not need to tinker with
>> web.xml any more...
>> Anyone know whether I am just behind the times, or what the plans might be
>> to add such support to Jersey?