This is an automated email from the ASF dual-hosted git repository.

coheigea pushed a commit to branch 2_3_x-fixes
in repository https://gitbox.apache.org/repos/asf/ws-wss4j.git


The following commit(s) were added to refs/heads/2_3_x-fixes by this push:
     new cacacc6  Fixing the TimestampOutputProcessor to run before the 
UsernameTokenOutputProcessor
cacacc6 is described below

commit cacacc6e8d59b71658979f3ede26366a530422b4
Author: Colm O hEigeartaigh <[email protected]>
AuthorDate: Fri Oct 16 10:36:22 2020 +0100

    Fixing the TimestampOutputProcessor to run before the 
UsernameTokenOutputProcessor
---
 .../wss4j/stax/impl/processor/output/TimestampOutputProcessor.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/ws-security-stax/src/main/java/org/apache/wss4j/stax/impl/processor/output/TimestampOutputProcessor.java
 
b/ws-security-stax/src/main/java/org/apache/wss4j/stax/impl/processor/output/TimestampOutputProcessor.java
index abd67db..5bbd94a 100644
--- 
a/ws-security-stax/src/main/java/org/apache/wss4j/stax/impl/processor/output/TimestampOutputProcessor.java
+++ 
b/ws-security-stax/src/main/java/org/apache/wss4j/stax/impl/processor/output/TimestampOutputProcessor.java
@@ -38,7 +38,7 @@ public class TimestampOutputProcessor extends 
AbstractOutputProcessor {
 
     public TimestampOutputProcessor() throws XMLSecurityException {
         super();
-        addAfterProcessor(UsernameTokenOutputProcessor.class.getName());
+        addBeforeProcessor(UsernameTokenOutputProcessor.class.getName());
         addBeforeProcessor(WSSSignatureOutputProcessor.class.getName());
         addBeforeProcessor(EncryptOutputProcessor.class.getName());
     }

Reply via email to