That namespace is deprecated:

https://www.w3.org/2006/07/ws-policy/

However I've added support in the STS for the next release:

https://issues.apache.org/jira/browse/CXF-7619

Colm.

On Sat, Jan 20, 2018 at 6:58 AM, Tóth Csaba <[email protected]> wrote:

> Hi!
>
> I have a example RST request (get from the customer) , what contains in
> the body a  {http://www.w3.org/2006/07/ws-policy}AppliesTo element.
> I dig down and find out that the
> org.apache.cxf.sts.request.RequestParser, what try to understand the
> request, check the namespace for the AppliesTo element, and must be
> "http://www.w3.org/ns/ws-policy"; or
> "http://schemas.xmlsoap.org/ws/2004/09/policy"; but not
> "http://www.w3.org/2006/07/ws-policy";
>
> if ("AppliesTo".equals(element.getLocalName())
>                     && (STSConstants.WSP_NS.equals(
> element.getNamespaceURI())
>                         || 
> STSConstants.WSP_NS_04.equals(element.getNamespaceURI())))
> {
>
>
> How can I this solve without rewrite the code?
> Or maybe the customer has wrong about the namespace?
>
> Thanx
> Csaba
>
>


-- 
Colm O hEigeartaigh

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

Reply via email to