cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tóth Csaba <ig...@domen.hu>
Subject STS cant handle the {http://www.w3.org/2006/07/ws-policy}AppliesTo in the request?
Date Sat, 20 Jan 2018 06:58:09 GMT
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


Mime
View raw message