|
|
Choosing A Webhost: |
STR-Transform question: msg#00215apache.webservices.fx.devel
I am currently performing interop testing against WSS4J with our own WS-Security implementation. I have come up against a couple of issues (with the configuration for axis - something for another email) but now have scenarios 1-6 working fine. Scenario 7 uses the STR-Transform. I cannot get this to work and have traced the WSS4J STRTransform class to work out why. The algorithm described in section 8.3 of the WS-Security specification for STR-Transform is a little unclear about how the C14N algorithm is to be applied. It implies that it possibly should be applied to the input node *before* the rest of the algorithm is applied. WSS4J appears to use this interpretation. The STRTransform class first runs the input through the Canonicalizer and then follows the STRTransform processing rules which end with the result again being run through the Canonicalizer. However, I do not believe that was the intention of the algorithm. It should only Canonicalize the output node. There is an errata for this very issue which clarifies this point. It states that ------ Lines 1034-1036 of WSS 1.0 state: "The transform takes a single mandatory parameter, a <ds:CanonicalizationMethod> element, which is used to serialize the input node set." should be "The transform takes a single mandatory parameter, a <ds:CanonicalizationMethod> element, which is used to serialize the output node set." Line 1056 of WSS 1.0 states: "process the dereferenced node set Ri' instead." should be "process the dereferenced node set Di' instead." ------- I believe the WSS4J STRTransform is incorrectly C14Ning the input node when it should only C14N the output node. This is causing my interop test to fail. Pete
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Client side p12's, csj |
|---|---|
| Next by Date: | AW: STR-Transform question, Dittmann, Werner |
| Previous by Thread: | svn commit: r290119 - /webservices/wss4j/trunk/src/org/apache/ws/security/Todolist.java, werner-1oDqGaOF3Lkdnm+yROfE0A |
| Next by Thread: | AW: STR-Transform question, Dittmann, Werner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |