[WSS4J] wss4j/src/org/apache/ws/security/message WSSignEnvelope.java,1.22,1.23

[email protected] Wed, 07 Jan 2004 07:23:30 -0800
Newsgroups gmane.text.xml.wss4j
Message-ID <[email protected]>
Update of /cvsroot/wss4j/wss4j/src/org/apache/ws/security/message
In directory sc8-pr-cvs1:/tmp/cvs-serv333/src/org/apache/ws/security/message

Modified Files:
	WSSignEnvelope.java 
Log Message:
Fix bug when signing the security token (Token)

Index: WSSignEnvelope.java
===================================================================
RCS file: /cvsroot/wss4j/wss4j/src/org/apache/ws/security/message/WSSignEnvelope.java,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -d -r1.22 -r1.23
*** WSSignEnvelope.java	22 Dec 2003 15:31:04 -0000	1.22
--- WSSignEnvelope.java	7 Jan 2004 15:23:28 -0000	1.23
***************
*** 207,211 ****
  				transforms = new Transforms(doc);
  				transforms.addTransform(Transforms.TRANSFORM_C14N_EXCL_OMIT_COMMENTS);
! 				sig.addDocument(tokenUri, transforms);
  			}
  			else {
--- 207,211 ----
  				transforms = new Transforms(doc);
  				transforms.addTransform(Transforms.TRANSFORM_C14N_EXCL_OMIT_COMMENTS);
! 				sig.addDocument("#" + tokenUri, transforms);
  			}
  			else {




-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click