[jboss-jira] [JBoss JIRA] (WFLY-3251) @WebContext overrides realm in web.xml
Juergen Zimmermann (JIRA)
issues at jboss.org
Fri May 23 08:32:58 EDT 2014
[ https://issues.jboss.org/browse/WFLY-3251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12970069#comment-12970069 ]
Juergen Zimmermann commented on WFLY-3251:
------------------------------------------
The issue still exists in WildFly 8.1.0.CR4
> @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.1.0.CR2
> 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 was sent by Atlassian JIRA
(v6.2.3#6260)
More information about the jboss-jira
mailing list