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

Could not grant javax.xml.ws.WebServicePermission to a deployment

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 8.0.0.Final
    • 8.0.0.Alpha4
    • Security Manager
    • None
    • Workaround Exists
    • Hide

      I've worked this around by adding the javax.xml.ws.api module dependency in modules/system/layers/base/org/wildfly/extension/security/manager/main/module.xml .

      Show
      I've worked this around by adding the javax.xml.ws.api module dependency in modules/system/layers/base/org/wildfly/extension/security/manager/main/module.xml .

    Description

      It's currently not possible by default to grant the javax.xml.ws.WebServicePermission "publish" permission to a user deployment by adding the proper entry in standalone.xml:

              <subsystem xmlns="urn:jboss:domain:security-manager:1.0">
                  <deployment-permissions>
                      <minimum-set>
                          ...
                          <permission class="javax.xml.ws.WebServicePermission" name="publishEndpoint"/>
                      </minimum-set>
                  </deployment-permissions>
              </subsystem>
      

      Attachments

        Issue Links

          Activity

            People

              sdouglas1@redhat.com Stuart Douglas
              rhn-support-asoldano Alessio Soldano
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: