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 11:33:00 UTC
[ws-wss4j] branch 2_2_x-fixes 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 2_2_x-fixes
in repository https://gitbox.apache.org/repos/asf/ws-wss4j.git
The following commit(s) were added to refs/heads/2_2_x-fixes by this push:
new f59ac1e Fixing the TimestampOutputProcessor to run before the UsernameTokenOutputProcessor
f59ac1e is described below
commit f59ac1e9550cc56465b473f9e5ba47b5c9822a0a
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 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());
}