[jboss-jira] [JBoss JIRA] (WFLY-3251) @WebContext overrides realm in web.xml

Jason Greene (JIRA) issues at jboss.org
Mon Sep 15 16:02:28 EDT 2014


     [ https://issues.jboss.org/browse/WFLY-3251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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".



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the jboss-jira mailing list