SWS-515 - Validate WSS headers using new checkReceiverResultsAnyOrder method in WSHandler.
This commit is contained in:
@@ -64,6 +64,10 @@ class Wss4jHandler extends WSHandler {
|
||||
return super.checkReceiverResults(wsResult, actions);
|
||||
}
|
||||
|
||||
protected boolean checkReceiverResultsAnyOrder(Vector wsResult, Vector actions) {
|
||||
return super.checkReceiverResultsAnyOrder(wsResult, actions);
|
||||
}
|
||||
|
||||
void setOption(String key, String value) {
|
||||
options.setProperty(key, value);
|
||||
}
|
||||
|
||||
@@ -549,7 +549,7 @@ public class Wss4jSecurityInterceptor extends AbstractWsSecurityInterceptor impl
|
||||
*/
|
||||
protected void checkResults(Vector results, Vector validationActionsVector)
|
||||
throws Wss4jSecurityValidationException {
|
||||
if (!handler.checkReceiverResults(results, validationActionsVector)) {
|
||||
if (!handler.checkReceiverResultsAnyOrder(results, validationActionsVector)) {
|
||||
throw new Wss4jSecurityValidationException("Security processing failed (actions mismatch)");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user