Magazine
 
Quick Review:Ajax
 
Implementing WS-Security
 

1. <soapenv:Envelope xmlns:soapenv=”http://schemas.xmlsoap.org/soap/envelope/”
xmlns:xsd=”http://www.w3.org/2001/XMLSchema”
xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance”
xmlns:SOAP-ENC=”http://schemas.xmlsoap.org/soap/encoding/”>
2. <soapenv:Header>
3. <wsse:Security soapenv:actor=”http://www.jStartcustomer.com/actors#verifier”
soapenv:mustUnderstand=”1"
xmlns:wsse=”http://schemas.xmlsoap.org/ws/2002/04/secext”>
<Signature xmlns=”http://www.w3.org/2000/09/xmldsig#”>
4. <SignedInfo>
5. <CanonicalizationMethod Algorithm=”http://www.w3.org/2001/10/xml-exc-c14n#”/>
6. <SignatureMethod Algorithm=”http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
7. <Reference URI=”#sign_content_1043176028580">
8. <Transforms>
9. <Transform Algorithm=”http://www.w3.org/2001/10/xml-exc-c14n#”/>
10. </Transforms>
11. <DigestMethod Algorithm=”http://www.w3.org/2000/09/xmldsig#sha1"/>
12. <DigestValue>FLuQTa/LqDIZ5F2JSaMRHSRuaiQ=</DigestValue>
13. </Reference>
14. </SignedInfo>
15. <SignatureValue>
16. kGlrrXjKku/WXKxID+JJkEXY+aGNYHc5dy8GwbLFtB5Msll2/MhwdnO9wastJ0gLPzLy3oHL
17. 7A8ggkMkjgAqnLg6PTzM7MdKoIAhe+xRHdOysamGucFJQRMrU+JQ4WATJt0bpdClwJy6mexT
18. Su48mq1q5rM9YZh61P7UEUKt+EQ=
19. </SignatureValue>
20. <KeyInfo xmlns=”http://www.w3.org/2000/09/xmldsig#”>
21. <KeyValue>
22. <RSAKeyValue>

June 2008 | Java Jazz Up |27
 
previous
index
next
 
Pages: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29,

30
, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51,   Download PDF