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

CDI integration doesn't work with RESTeasy interceptors

    XMLWordPrintable

Details

    • Workaround Exists
    • 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.

      Attachments

        Activity

          People

            rhn-engineering-jharting Jozef Hartinger
            lukaszlenart_jira Lukasz Lenart (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: