0 Replies Latest reply on Jan 28, 2016 9:32 AM by arnold.brown

    jaxws ejb3 endpoint http basic auth RolesAllowed in deployment descriptor


      JBoss EAP 6.3.0.GA (AS 7.4.0.Final-redhat-19)
      JDK 1.7.0_75
      RHEL 6.6


      I have created a web service with ejb3 endpoint and packaged and deployed as ejb jar


      I needed to set up http basic auth for the webservice http call. I could add jboss-webservices.xml

      <webservices xmlns="http://www.jboss.com/xml/ns/javaee">











      But I couldn't find a way to configure security role in deployment descriptor, I used javax.annotation.security.RolesAllowed annotation and it worked. However, I want to do it in the deployment descriptor. Is there a way to do this in the deployment descriptor.