Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-19370

Intermittent failures in JWTIdentityPropagationTestCase

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • MP JWT

          [WFLY-19370] Intermittent failures in JWTIdentityPropagationTestCase

          r searls added a comment -

          r searls added a comment - this supersede PR https://github.com/wildfly/wildfly/pull/18342

          r searls added a comment -

          r searls added a comment - This PR supersede PR: https://github.com/wildfly/wildfly/pull/18312

          rsearls The security domain MSC injection wiring for EJBComponentCreateService is done here:

          https://github.com/wildfly/wildfly/blob/main/ejb3/src/main/java/org/jboss/as/ejb3/component/EJBComponentDescription.java#L897-L932

          Specifically

          https://github.com/wildfly/wildfly/blob/main/ejb3/src/main/java/org/jboss/as/ejb3/component/EJBComponentDescription.java#L918-L919

          That method is called during deployment by a deployment unit processor that iterates over all the EE components in a deployment and calls the various configurators:

          https://github.com/wildfly/wildfly/blob/main/ee/src/main/java/org/jboss/as/ee/component/deployers/EEModuleConfigurationProcessor.java#L65

          So that's wiring that's done at deployment time, before any requests are handled. The SecurityDomain obtained from EJBComponentCreateService.securityDomain will not change after the deployment starts.

          Brian Stansberry added a comment - rsearls The security domain MSC injection wiring for EJBComponentCreateService is done here: https://github.com/wildfly/wildfly/blob/main/ejb3/src/main/java/org/jboss/as/ejb3/component/EJBComponentDescription.java#L897-L932 Specifically https://github.com/wildfly/wildfly/blob/main/ejb3/src/main/java/org/jboss/as/ejb3/component/EJBComponentDescription.java#L918-L919 That method is called during deployment by a deployment unit processor that iterates over all the EE components in a deployment and calls the various configurators: https://github.com/wildfly/wildfly/blob/main/ee/src/main/java/org/jboss/as/ee/component/deployers/EEModuleConfigurationProcessor.java#L65 So that's wiring that's done at deployment time, before any requests are handled. The SecurityDomain obtained from EJBComponentCreateService.securityDomain will not change after the deployment starts.

          r searls added a comment -

          r searls added a comment - this PR supersede PR: https://github.com/wildfly/wildfly/pull/18299

          r searls added a comment -

          r searls added a comment - PR supersedes https://github.com/wildfly/wildfly/pull/18055

            rsearls r searls
            bstansbe@redhat.com Brian Stansberry
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: