]
Jason Greene updated WFLY-3251:
-------------------------------
Fix Version/s: 9.0.0.Beta1
(was: 9.0.0.Alpha1)
@WebContext overrides realm in web.xml
--------------------------------------
Key: WFLY-3251
URL:
https://issues.jboss.org/browse/WFLY-3251
Project: WildFly
Issue Type: Bug
Components: Web Services
Affects Versions: 8.1.0.CR2
Reporter: Juergen Zimmermann
Assignee: Alessio Soldano
Fix For: 9.0.0.Beta1
In WEB-INF/web.xml I'm having this declaration (to be used for REST and SOAP):
{code}
<login-config>
<auth-method>BASIC</auth-method>
<realm-name>Shop</realm-name>
</login-config>
{code}
Furthermore, I'm having a SOAP-based web service:
{code}
@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 {...}
{code}
But when the client invokes the server, then the realm name is
"EJBWebServiceEndpointServlet Realm".