Use constant in SAMLUtils
@@ -162,8 +162,8 @@ public final class SAMLUtils {
audiences.add((String)msg.get(org.apache.cxf.message.Message.REQUEST_URI));
}
- if (msg.getContextualProperty("javax.xml.ws.wsdl.service") != null) {
- audiences.add(msg.getContextualProperty("javax.xml.ws.wsdl.service").toString());
+ if (msg.getContextualProperty(Message.WSDL_SERVICE) != null) {
+ audiences.add(msg.getContextualProperty(Message.WSDL_SERVICE).toString());
}
}
return audiences;
