You can't set the SignatureAlgorithm if you are using WS-SecurityPolicy, as it defaults to that of the spec. What requirements do you have? What signature algorithm do you want to use?
Colm. On Tue, Aug 13, 2013 at 1:36 PM, Ted Roeloffzen <[email protected]>wrote: > Hi Colm, > > The WSS4JOutInterceptor is created and configured automatically by CXF, > right? > Can I somehow retrieve the WSS4JOutInterceptor during the process and set > the signatureAlgorithm tag, without having to configure the entire > interceptor? > > Ted > > > > > 2013/8/13 Colm O hEigeartaigh <[email protected]> > >> If you are using WS-SecurityPolicy, then the spec defines the signature >> method as "RSA-SHA1" for Asymmetric Signature, and "HMAC-SHA1" for >> Symmetric Signature. Otherwise, you can set it via the >> "signatureAlgorithm" >> configuration tag on the WSS4JOutInterceptor. >> >> Colm. >> >> >> On Tue, Aug 13, 2013 at 8:08 AM, Ted Roeloffzen <[email protected] >> >wrote: >> >> > Hi All, >> > >> > How does CXF determine which signature method to use? >> > Does it retrieve it from the security-policy in the WSDL or do you have >> to >> > configure it? >> > >> > kind regards, >> > >> > Ted >> > >> >> >> >> -- >> Colm O hEigeartaigh >> >> Talend Community Coder >> http://coders.talend.com >> > > -- Colm O hEigeartaigh Talend Community Coder http://coders.talend.com
