Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-4961

Move PARSE_MICROPROFILE_JWT_DETECTION Earlier

    XMLWordPrintable

Details

    Description

      JwtActivationProcessor is presently installed at PARSE_MICROPROFILE_JWT_DETECTION = 0x4C0D

      However I need it to have performed it's activation check before: -

      AnnotatedEJBComponentDescriptionDeploymentUnitProcessor which is installed at PARSE_CREATE_COMPONENT_DESCRIPTIONS = 0x1150

      JwtActivationProcessor depends on two attachments.
      WarMetaData.ATTACHMENT_KEY which is created by WarStructureDeploymentProcessor and installed at STRUCTURE_WAR = 0x0900 - So before Phase.PARSE.
      Attachments.COMPOSITE_ANNOTATION_INDEX which is created by CompositeIndexProcessor and installed at PARSE_COMPOSITE_ANNOTATION_INDEX = 0x0301

      So anywhere after 0x0301 but before 0x1150 should be safe.

      Attachments

        Activity

          People

            darran.lofthouse@redhat.com Darran Lofthouse
            darran.lofthouse@redhat.com Darran Lofthouse
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: