[jboss-jira] [JBoss JIRA] (WFLY-3251) @WebContext overrides realm in web.xml
Juergen Zimmermann (JIRA)
issues at jboss.org
Fri Apr 11 07:30:13 EDT 2014
Juergen Zimmermann created WFLY-3251:
----------------------------------------
Summary: @WebContext overrides realm in web.xml
Key: WFLY-3251
URL: https://issues.jboss.org/browse/WFLY-3251
Project: WildFly
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Web Services
Affects Versions: 8.0.0.Final
Reporter: Juergen Zimmermann
Assignee: Alessio Soldano
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".
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list