Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-493

CDI integration doesn't work with RESTeasy interceptors

    Details

    • Workaround:
      Workaround Exists
    • Workaround Description:
      Hide

      Right now I'm able to workaround this problem by our internal static injection module, but the full support for all RESTeasy beans would be great!

      Show
      Right now I'm able to workaround this problem by our internal static injection module, but the full support for all RESTeasy beans would be great!

      Description

      I've created SecurityInterceptor which implements PreProcessInterceptor interface and it's annotated with

      @Provider
      @ServerInterceptor
      @SecurityPrecedence

      The interceptor has field annotated with @Inject to inject dependency by CDI, but it doesn't work, the field is null.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                jharting Jozef Hartinger
                Reporter:
                lukaszlenart Lukasz Lenart
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: