Yes it's not valid. You need to wrap the multiple policies in an
"ExactlyOne" instead. See this email thread:

http://cxf.547215.n5.nabble.com/ws-policies-AlgorithmSuite-td5739309.html

Colm.

On Thu, Sep 22, 2016 at 4:24 PM, Alejandro <aleyc...@gmail.com> wrote:

> Hi, I've make a policy that support some algorithm suite, but when I used
> it
> I discoverd that CXF load only the first algorithm that appear in the
> suite,
> if you change the order always load the first one.
>
> This is the algorithm suite
> <sp:AlgorithmSuite>
>                                                 <wsp:Policy>
>                                                         <sp:Basic128Rsa15
> />
>                                                         <sp:Basic256Rsa15
> />
>
> <sp:Basic128Sha256Rsa15 />
>
> <sp:Basic256Sha256Rsa15 />
>                                                 </wsp:Policy>
>                                         </sp:AlgorithmSuite>
>
> That happend en CXF 2.7.18, any idea about that?
>
> Regards
>
>
>
> --
> View this message in context: http://cxf.547215.n5.nabble.
> com/WS-Security-Policy-Problem-with-algorithm-suite-tp5772956.html
> Sent from the cxf-user mailing list archive at Nabble.com.
>



-- 
Colm O hEigeartaigh

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

Reply via email to