Uploaded image for project: 'PicketLink'
  1. PicketLink
  2. PLINK-615

The class org.picketlink.http.internal.PicketLinkServletContextListener is annotated with an invalid scope

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • PLINK_2.7.0.CR2
    • PLINK_2.7.0.CR2
    • HTTP_SECURITY
    • None

      The class org.picketlink.http.internal.PicketLinkServletContextListener is annotated with an invalid scope

      @ApplicationScoped
      @WebListener
      public class PicketLinkServletContextListener implements ServletContextListener
      

      Declaring CDI scopes for listeners, servlets or filters is not allowed!

      You need to refactor and extract the listener related logic into a separate class.

              psilva@redhat.com Pedro Igor Craveiro
              robert.kornmesser Robert Kornmesser (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: