Uploaded image for project: 'Quarkus'
  1. Quarkus
  2. QUARKUS-6639

CDI request context is inactive and Vert.x context is null in CredentialsProvider called by Agroal

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • Release Notes
    • +
    • Hide

      See the "How to Reproduce?" section in the https://github.com/quarkusio/quarkus/issues/50154.

      Show
      See the "How to Reproduce?" section in the https://github.com/quarkusio/quarkus/issues/50154 .
    • ---

      Customer case QUARKUS-3363 describes that they need to provide database credentials when a user signs into the application. However Agroal uses executor which prevents any context propagation I could think of. CDI request context is lost and Vert.x duplicated context is not available either. I put more details in https://github.com/quarkusio/quarkus/issues/50154

      There should be a way to access credentials on active HTTP request.

      Once this is fixed, Quarkus QE Test Suite module "hibernate/hibernate-offline-startup" contains workarounds that needs to be removed.

              lbarreiro-1 Luis Barreiro
              rh-ee-mvavrik Michal Vavrik
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: