Hiya,

I've used Jersey for REST support in the past with Shiro, but I used
the web-tier support to enforce rules, such as the
HttpMethodPermissionFilter:

http://incubator.apache.org/shiro/static/current/apidocs/org/apache/shiro/web/filter/authz/HttpMethodPermissionFilter.html

I've never used the annotation-based approach, but I don't see why it
couldn't work equally as well.  Also, 'Jersey annotations' are a
JSR-spec right?  I.e. nothing Jersey-specific about them?  If so, an
implementation based on that standard could be quite convenient.

HTH,

Les

On Mon, Aug 23, 2010 at 10:03 AM, lt_schmidt_jr <[email protected]> wrote:
>
> Anyone here try to use Shiro with Jersey?
> I am just now looking at Shiro AspectJ integration and wondering if there is
> a clean way to have AspectJ call out to Shiro methods with pointcuts based
> on Jersey annotations. Any thoughts or suggestions would be appreciated.
> --
> View this message in context: 
> http://shiro-user.582556.n2.nabble.com/Jersey-support-tp5453408p5453408.html
> Sent from the Shiro User mailing list archive at Nabble.com.
>

Reply via email to