werner      2005/05/21 13:11:44

  Modified:    wss4j/src/org/apache/ws/axis/security WSDoAllSender.java
  Log:
  Deleted some stuff that is required. See inline comments
  in the source.
  
  Revision  Changes    Path
  1.31      +10 -1     
ws-fx/wss4j/src/org/apache/ws/axis/security/WSDoAllSender.java
  
  Index: WSDoAllSender.java
  ===================================================================
  RCS file: 
/home/cvs/ws-fx/wss4j/src/org/apache/ws/axis/security/WSDoAllSender.java,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- WSDoAllSender.java        21 May 2005 19:41:42 -0000      1.30
  +++ WSDoAllSender.java        21 May 2005 20:11:44 -0000      1.31
  @@ -531,7 +531,16 @@
       private void performST_SIGNAction(int actionToDo, boolean mu, Document 
doc, RequestData reqData)
               throws AxisFault {
           Crypto crypto = null;
  -        crypto = loadSignatureCrypto(reqData);
  +        /*
  +         * it is possible and legal that we do not have a signature
  +         * crypto here - thus ignore the exception. This is usually
  +         * the case for the SAML option "sender vouches". In this case
  +         * no user crypto is required.
  +         */
  +        try {
  +             crypto = loadSignatureCrypto(reqData);
  +        } catch (AxisFault ex) {}
  +        
           SAMLIssuer saml = loadSamlIssuer(reqData);
           saml.setUsername(reqData.username);
           saml.setUserCrypto(crypto);
  
  
  

Reply via email to