List<WSSecurityEngineResult> scResults =
WSS4JUtils.fetchAllActionResults(results, WSConstants.SC);
for (AssertionInfo ai : ais) {
Wss11 wss11 = (Wss11)ai.getAssertion();
ai.setAsserted(true);
if (!MessageUtils.isRequestor(message)) {
continue;
}
if ((wss11.isRequireSignatureConfirmation() && scResults.isEmpty())
|| (!wss11.isRequireSignatureConfirmation() && !scResults.isEmpty())) {
ai.setNotAsserted(
"Signature Confirmation policy validation failed"
);
continue;
}