Uploaded image for project: 'WildFly EJB HTTP Client'
  1. WildFly EJB HTTP Client
  2. WEJBHTTP-22

HttpRootContext should do ServiceLoader load in a privileged block

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • 1.0.12.Final
    • None

    Description

      HttpRootContext's static initializer does service loading outside a privileged block. This will fail in a security manager environment where the caller does not have permissions configured to read the jar the provides the service impl. See WFLY-11363 for an example.

      Attachments

        Issue Links

          Activity

            People

              bstansbe@redhat.com Brian Stansberry
              bstansbe@redhat.com Brian Stansberry
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: