10 Replies Latest reply on May 9, 2006 3:06 AM by thomas.diesler

    JAAS Security Login with JBossWS

      In JBoss 4.0.3SP1, you could supply a username and password on the javax.xml.rpc.Stub object like so:

      stub._setProperty(Stub.USERNAME_PROPERTY, user);
      stub._setProperty(Stub.PASSWORD_PROPERTY, password);


      Doing so would ensure a JAAS login on the server when the webservice call was received. This no longer seems to work with JBoss 4.0.4.CR2. My Java Service Endpoints are calling secured stateless session beans, so I need this kind of functionality still. How can I achieve it with the latest version of JBoss?