cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Colm O hEigeartaigh <cohei...@apache.org>
Subject Re: InitiatorSignatureToken
Date Tue, 15 Nov 2011 09:30:29 GMT
Hi Vinay,

IntiatorSignatureToken is not currently supported. If you want to
provider a patch I suggest looking at how the AsymmetricBindingBuilder
builds the AsymmetricBinding policy model - it should be easy enough
to add support for InitiatorSignatureToken here. The trickier task
will be to add support to the AsymmetricBindingHandler to use this
policy.

Colm.

On Mon, Nov 14, 2011 at 7:21 PM, Penmatsa, Vinay <vinay.penmatsa@sap.com> wrote:
> I'm running CXF 2.4.1.
> I do not see implementation or builder for IntiatorSignatureToken. Should I do it myself?
>
> -Vinay
>
>
> -----Original Message-----
> From: Penmatsa, Vinay [mailto:vinay.penmatsa@sap.com]
> Sent: Monday, November 14, 2011 2:07 PM
> To: users@cxf.apache.org
> Subject: InitiatorSignatureToken
>
> Hi,
> A service that I need to use has the following policy definition:
>            <sp:AsymmetricBinding xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702">
>                <wsp:Policy>
>                    <sp:InitiatorSignatureToken>
>                        <wsp:Policy>
>                            <sp:X509Token sp:IncludeToken="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/IncludeToken/AlwaysToRecipient">
>                                <wsp:Policy>
>                                    <sp:WssX509V3Token10 />
>                                </wsp:Policy>
>                            </sp:X509Token>
>                        </wsp:Policy>
>                    </sp:InitiatorSignatureToken>
>                ....
>                ....
>            </sp:AsymmetricBinding>
>
> CXF could not process because it seems it didn't expect "InitiatorSignatureToken" element.
> I get the warning:
> org.apache.cxf.ws.policy.AssertionBuilderRegistryImpl handleNoRegisteredBuilder
> WARNING: No assertion builder for type {http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}InitiatorSignatureToken
registered.
>
> Is this wrong policy definition or CXF limitation? or did I miss something?
>
> Regards,
> Vinay
>
>
>



-- 
Colm O hEigeartaigh

Talend Community Coder
http://coders.talend.com

Mime
View raw message