Author: dkulp
Date: Wed Jul 8 19:01:39 2009
New Revision: 792261
URL: http://svn.apache.org/viewvc?rev=792261&view=rev
Log:
[CXF-2186] Use the unordered check for checking for actions.
Modified:
cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/WSS4JInInterceptor.java
Modified:
cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/WSS4JInInterceptor.java
URL:
http://svn.apache.org/viewvc/cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/WSS4JInInterceptor.java?rev=792261&r1=792260&r2=792261&view=diff
==============================================================================
---
cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/WSS4JInInterceptor.java
(original)
+++
cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/WSS4JInInterceptor.java
Wed Jul 8 19:01:39 2009
@@ -264,9 +264,9 @@
}
/*
- * now check the security actions: do they match, in right order?
+ * now check the security actions: do they match, in any order?
*/
- if (!ignoreActions && !checkReceiverResults(wsResult, actions)) {
+ if (!ignoreActions && !checkReceiverResultsAnyOrder(wsResult,
actions)) {
LOG.warning("Security processing failed (actions mismatch)");
throw new
WSSecurityException(WSSecurityException.INVALID_SECURITY);
}