[jbossws-issues] [JBoss JIRA] Commented: (JBWS-2565) Problems with security after moving from AS 4.2.x series to AS 5.0.x series

Richard Opalka (JIRA) jira-events at lists.jboss.org
Wed Mar 25 06:23:22 EDT 2009


    [ https://jira.jboss.org/jira/browse/JBWS-2565?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12458987#action_12458987 ] 

Richard Opalka commented on JBWS-2565:
--------------------------------------

User implemented this service:

package org.jboss.test.ws.jaxws.jbws2565;

import javax.annotation.security.PermitAll;
import javax.ejb.Stateless;
import javax.jws.WebMethod;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;

import org.jboss.wsf.spi.annotation.WebContext;

@Stateless
@PermitAll
@WebService
(
   name = "MyWebService",
   targetNamespace = "http://my.services.web",
   serviceName = "MyWebServiceName"
)
@WebContext
(
   contextRoot = "/jaxws-jbws2565-wrong",
   transportGuarantee = "NONE",
   authMethod = "NONE" // this is wrong value, deployment will be rejected
)
@SOAPBinding
(
   use = SOAPBinding.Use.LITERAL,
   style = SOAPBinding.Style.DOCUMENT,
   parameterStyle = SOAPBinding.ParameterStyle.WRAPPED
)
public final class MyWebServiceBeanWrong
{
   @WebMethod
   @PermitAll
   public final String doStuff()
   {
       return "i've done stuff";
   }
}


> Problems with security after moving from AS 4.2.x series to AS 5.0.x series
> ---------------------------------------------------------------------------
>
>                 Key: JBWS-2565
>                 URL: https://jira.jboss.org/jira/browse/JBWS-2565
>             Project: JBoss Web Services
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: jbossws-native
>    Affects Versions: jbossws-native-3.0.5, jbossws-native-3.1.0
>            Reporter: Richard Opalka
>            Assignee: Richard Opalka
>             Fix For:  jbossws-native-3.1.1
>
>         Attachments: JBossJIRA.7z
>
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbossws-issues mailing list