Uploaded image for project: 'Shiro'
  1. Shiro
  2. SHIRO-609

Shiro JAX-RS - Don't assume JAX-RS handles annotation processing

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Many frameworks support JAX-RS, and JAX-RS supports many frameworks. there may be scenarios where spring is driving a JAX-RS service. As a result, if you had lets say spring or guice handling your AOP, then you want to ensure that those containers are doing the AOP and not JAX-RS. But obviously if neither is doing AOP then the JAX-RS implementation should work.

      So I'm wondering, could we make this configurable?

        Activity

        Hide
        bdemers Brian Demers added a comment -

        This should not be a problem. Take a look at ShiroFeature You can pick and choice which features to include in your application. ShiroFeature just aggregate them together.

        https://github.com/apache/shiro/blob/master/support/jaxrs/src/main/java/org/apache/shiro/web/jaxrs/ShiroFeature.java#L55-L57

        Let me know if I'm missing something!

        Show
        bdemers Brian Demers added a comment - This should not be a problem. Take a look at ShiroFeature You can pick and choice which features to include in your application. ShiroFeature just aggregate them together. https://github.com/apache/shiro/blob/master/support/jaxrs/src/main/java/org/apache/shiro/web/jaxrs/ShiroFeature.java#L55-L57 Let me know if I'm missing something!

          People

          • Assignee:
            Unassigned
            Reporter:
            johndament John D. Ament
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:

              Development