shiro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan Stamer (JIRA)" <>
Subject [jira] [Created] (SHIRO-392) Shiro Extension for JAX-RS Implementation Sun Jersey
Date Fri, 26 Oct 2012 13:43:12 GMT
Jan Stamer created SHIRO-392:

             Summary: Shiro Extension for JAX-RS Implementation Sun Jersey
                 Key: SHIRO-392
             Project: Shiro
          Issue Type: Improvement
            Reporter: Jan Stamer

We've added an extension to Shiro which enables Shiro annotations in the JAX-RS implementation
Sun Jersey.
You can do the following with it:

public class ChangelogResourceImpl {

   public Response addObject(ObjectJson objectJson) {
      return Response.ok().build();


If the user is not authenticated Http Status Code 401 is returned. If the user has insufficient
privileges Status Code 403 is returned.

Right now we've only added support for the annoation @RequiresPermissions. The other Shiro
annoations could easily be added in the same fashion. Yet currently that's the only one we

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message