Ya, I followed all of these steps and it did not work.  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:

@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:

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.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3939316#3939316

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3939316


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to