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

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


The following commit(s) were added to refs/heads/master by this push:
     new a8fd599  Fixing the TimestampOutputProcessor to run before the 
UsernameTokenOutputProcessor
a8fd599 is described below

commit a8fd599a18fc5333d0d4282b4f06d138ca5b4b97
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 2caf8cc..062b8be 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);
+        addBeforeProcessor(UsernameTokenOutputProcessor.class);
         addBeforeProcessor(WSSSignatureOutputProcessor.class);
         addBeforeProcessor(EncryptOutputProcessor.class);
     }

Reply via email to