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

@WebContext overrides realm in web.xml

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 9.0.0.Beta1
    • 8.1.0.CR2
    • Web Services
    • None

    Description

      In WEB-INF/web.xml I'm having this declaration (to be used for REST and SOAP):

        <login-config>
          <auth-method>BASIC</auth-method>
          <realm-name>Shop</realm-name>
        </login-config>
      

      Furthermore, I'm having a SOAP-based web service:

      @WebService(name = "KundeSOAP",
                  targetNamespace = "urn:shop:soap:kunde",
                  serviceName = "KundeSOAPService")
      @SOAPBinding
      @WebContext(authMethod = "BASIC",
                  transportGuarantee = "CONFIDENTIAL",
                  secureWSDLAccess = true)
      @Stateless
      @Interceptors(ConstraintViolationInterceptor.class)
      @RolesAllowed({ "...", "..." })
      @SecurityDomain("...")
      public class KundeSOAP {...}
      

      But when the client invokes the server, then the realm name is "EJBWebServiceEndpointServlet Realm".

      Attachments

        Issue Links

          Activity

            People

              rhn-support-asoldano Alessio Soldano
              juergen.zimmermann Juergen Zimmermann
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: