username/password properties are not copied to a Call object by SenderWorker
----------------------------------------------------------------------------

                 Key: SAND-10
                 URL: https://issues.apache.org/jira/browse/SAND-10
             Project: Sandesha
          Issue Type: Bug
         Environment: Windows XP
Axis 1.4
Sandesha 1.0
            Reporter: Akitoshi Yoshida
         Assigned To: Davanum Srinivas


When a call is initiated from SenderWorker, the username/password properties of 
the original msgContext is not copied to this Call object in SenderWorker's 
prepareCall method. This results in the authentication error for calling 
password protected services.

To correct this problem, the username and password properties must be copied to 
the Call object as in:

org.apache.sandesha.server.SenderWorker#prepareCall

332c332,334
<         return call;
---
>         call.setUsername(rmMessageContext.getMsgContext().getUsername());
>         call.setPassword(rmMessageContext.getMsgContext().getPassword());
>        return call;

A similar problem exists for the createTerminateSeqMsg of RMMessageCreator.

org.apache.sandesha.util.RMMessageCreator#createTerminateSeqMsg

171a172,173
>         terSeqMsgContext.setUsername(rmMsgCtx.getMsgContext().getUsername());
>         terSeqMsgContext.setPassword(rmMsgCtx.getMsgContext().getPassword());




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to