You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ws.apache.org by co...@apache.org on 2020/10/16 09:36:55 UTC

[ws-wss4j] branch master updated: Fixing the TimestampOutputProcessor to run before the UsernameTokenOutputProcessor

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 <co...@apache.org>
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);
     }