Details
-
Feature Request
-
Resolution: Done
-
Critical
-
jbossws-1.0.0
-
None
Description
It was working in JBoss 4.0.3 SP1 but it no longer works in JBoss 4.0.4.CR2. I'm using EJB3, so I'm setting up my security via annotations, but it should not matter. Here is some code from my bean:
Code:
@Stateless
@SecurityDomain("dbms")
@RolesAllowed("dbmsuser")
public class InventoryInfoBean implements InventoryInfo
The call initially goes through a POJO Java Service Endpoint because you did not yet have support for EJB3 service endpoints. That POJO endpoint uses JNDI to look up the EJB from above and passes the call to it. In my client, I do the following on the Stub object:
Code:
stub._setProperty(Stub.USERNAME_PROPERTY, user);
stub._setProperty(Stub.PASSWORD_PROPERTY, password);
And this all worked in JBoss 4.0.3 SP1 but no longer in 4.0.4CR2. Can someone please verify that this will work with the new JBossWS? Thanks.