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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major 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 .

      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>
      

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

                Created:
                Updated:
                Resolved: