[Jersey] Options method not aware of _at_RolesAllowed annotation

From: zeven <>
Date: Mon, 29 Aug 2011 12:43:44 -0700 (PDT)


When i send a request to a resource with the OPTIONS http method, i get a
list of methods in the 'Allow' header, but the list seems like not taking
into account the @RolesAllowed annotation.

I supposed that the OPTIONS logic is handled by jersey according to the rest
of annotations but maybe i was wrong.
It is that correct and this is a bug or is it a missunderstanding of mine
about this REST concept?

Thanks in advance

View this message in context:
Sent from the Jersey mailing list archive at