You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rampart-dev@ws.apache.org by Taweewat Luangwiriya <ta...@sipa.or.th> on 2007/11/09 11:22:58 UTC
Can i configure valuetype of keyidentifier
Hello dev,
How can i config the value of wsse:keyidentifier from
ValueType="http://docs.oasis-open.org/wss/2004/xx/oasis-2004xx-wss-soap-message-security-1.0#ThumbprintSHA1"
to
ValueTypehttp://docs.oasis-open.org/wss/oasis-wss-soap-message-security-1.1#ThumbprintSHA1
because my work need to communicate with .Net WSE3.0 and it required keyidentifier as above.
Thank you for advance
twl
/* Note my policy file shown below
<sp:SymmetricBinding>
<wsp:Policy>
<sp:ProtectionToken>
<wsp:Policy>
<sp:X509Token sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/Never">
<wsp:Policy>
<sp:RequireDerivedKeys/>
<sp:RequireKeyIdentifierReference/>
<sp:WssX509V1Token10/>
</wsp:Policy>
</sp:X509Token>
</wsp:Policy>
</sp:ProtectionToken>
<sp:AlgorithmSuite>
<wsp:Policy>
<sp:Basic128Rsa15/>
</wsp:Policy>
</sp:AlgorithmSuite>
<sp:Layout>
<wsp:Policy>
<sp:Strict/>
</wsp:Policy>
</sp:Layout>
<sp:IncludeTimestamp/>
<sp:EncryptSignature/>
<sp:OnlySignEntireHeadersAndBody/>
</wsp:Policy>
</sp:SymmetricBinding>
*/
Re: Can i configure valuetype of keyidentifier
Posted by Nandana Mihindukulasooriya <na...@gmail.com>.
Hi,
Did you try with the latest WSS4J trunk. AFAIK, latest WSS4J uses
ValueType=http://docs.oasis-
open.org/wss/oasis-wss-soap-message-security-1.1#ThumbprintSHA1
and not
ValueType="
http://docs.oasis-open.org/wss/2004/xx/oasis-2004xx-wss-soap-message-security-1.0#ThumbprintSHA1
".
This is not a configurable parameter and I think using the latest version of
the trunk of WSS4J [1] and
Rampart [2] will fix the issue.
Regards,
Nandana
[1] http://svn.apache.org/repos/asf/webservices/wss4j/trunk
[2] https://svn.apache.org/repos/asf/webservices/rampart/trunk/java
On Nov 9, 2007 3:52 PM, Taweewat Luangwiriya <ta...@sipa.or.th> wrote:
> Hello dev,
>
> How can i config the value of wsse:keyidentifier from
>
> ValueType="
> http://docs.oasis-open.org/wss/2004/xx/oasis-2004xx-wss-soap-message-security-1.0#ThumbprintSHA1
> "
>
> to
>
> ValueTypehttp://docs.oasis-
> open.org/wss/oasis-wss-soap-message-security-1.1#ThumbprintSHA1
>
> because my work need to communicate with .Net WSE3.0 and it required
> keyidentifier as above.
>
> Thank you for advance
> twl
>
> /* Note my policy file shown below
>
> <sp:SymmetricBinding>
> <wsp:Policy>
> <sp:ProtectionToken>
> <wsp:Policy>
> <sp:X509Token sp:IncludeToken="
> http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/Never">
> <wsp:Policy>
> <sp:RequireDerivedKeys/>
> <sp:RequireKeyIdentifierReference/>
> <sp:WssX509V1Token10/>
> </wsp:Policy>
> </sp:X509Token>
> </wsp:Policy>
> </sp:ProtectionToken>
> <sp:AlgorithmSuite>
> <wsp:Policy>
> <sp:Basic128Rsa15/>
> </wsp:Policy>
> </sp:AlgorithmSuite>
> <sp:Layout>
> <wsp:Policy>
> <sp:Strict/>
> </wsp:Policy>
> </sp:Layout>
> <sp:IncludeTimestamp/>
> <sp:EncryptSignature/>
> <sp:OnlySignEntireHeadersAndBody/>
> </wsp:Policy>
> </sp:SymmetricBinding>
> */
>