users@jersey.java.net

[Jersey] Options method not aware of _at_RolesAllowed annotation

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

Hi,

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
Sebastian



--
View this message in context: http://jersey.576304.n2.nabble.com/Options-method-not-aware-of-RolesAllowed-annotation-tp6739217p6739217.html
Sent from the Jersey mailing list archive at Nabble.com.