Author: giger
Date: Sun Mar 11 16:31:29 2012
New Revision: 1299391

URL: http://svn.apache.org/viewvc?rev=1299391&view=rev
Log:
Fixed a bug with DocumentContext-Path assembling during decryption. The 
OperationSecurityEvent was never emitted because the path was wrong.
This commit also introduces SecurityEvent regression tests to some 
EncDecryptionTests for WSS-378.
Second Part to commit forgotten class...

Modified:
    
webservices/wss4j/branches/swssf/streaming-ws-security/src/main/java/org/swssf/wss/impl/processor/input/DecryptInputProcessor.java

Modified: 
webservices/wss4j/branches/swssf/streaming-ws-security/src/main/java/org/swssf/wss/impl/processor/input/DecryptInputProcessor.java
URL: 
http://svn.apache.org/viewvc/webservices/wss4j/branches/swssf/streaming-ws-security/src/main/java/org/swssf/wss/impl/processor/input/DecryptInputProcessor.java?rev=1299391&r1=1299390&r2=1299391&view=diff
==============================================================================
--- 
webservices/wss4j/branches/swssf/streaming-ws-security/src/main/java/org/swssf/wss/impl/processor/input/DecryptInputProcessor.java
 (original)
+++ 
webservices/wss4j/branches/swssf/streaming-ws-security/src/main/java/org/swssf/wss/impl/processor/input/DecryptInputProcessor.java
 Sun Mar 11 16:31:29 2012
@@ -126,7 +126,6 @@ public class DecryptInputProcessor exten
         }
 
         protected void handleEncryptedElement(InputProcessorChain 
inputProcessorChain, XMLEvent xmlEvent, SecurityToken securityToken) throws 
XMLSecurityException {
-            //todo Document-Context-Path seems to be wrong! Test with 
EnDecryptionTest#testEncDecryptionPartsHeaderInbound
             //fire a SecurityEvent:
             if (inputProcessorChain.getDocumentContext().getDocumentLevel() == 
3
                     && ((WSSDocumentContext) 
inputProcessorChain.getDocumentContext()).isInSOAPHeader()) {


Reply via email to