summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas <>2021-09-02 16:52:45 +0200
committerThomas <>2021-09-02 16:52:45 +0200
commit5f78faac90385023533de2cb0bd4f7134cfab432 (patch)
tree3980517068ebd6ce498f3c86059b9bd3ca140fa5 /src
parent91aedf36ce06ab74d6f5223e25fd83c7b21236a5 (diff)
downloadegovutils-5f78faac90385023533de2cb0bd4f7134cfab432.tar.gz
egovutils-5f78faac90385023533de2cb0bd4f7134cfab432.tar.bz2
egovutils-5f78faac90385023533de2cb0bd4f7134cfab432.zip
add extension-point into PVP SOAP-header handler
Diffstat (limited to 'src')
-rw-r--r--src/main/java/at/gv/util/client/pvp/rprofile/Pvp18pSoapHandler.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/main/java/at/gv/util/client/pvp/rprofile/Pvp18pSoapHandler.java b/src/main/java/at/gv/util/client/pvp/rprofile/Pvp18pSoapHandler.java
index 41c4255..0e32e0b 100644
--- a/src/main/java/at/gv/util/client/pvp/rprofile/Pvp18pSoapHandler.java
+++ b/src/main/java/at/gv/util/client/pvp/rprofile/Pvp18pSoapHandler.java
@@ -76,6 +76,8 @@ public class Pvp18pSoapHandler implements SOAPHandler<SOAPMessageContext> {
AUTH_PREFIX,
AUTH_NS);
+ dynamicPvpTokenModifierExtension(pvpTokenType);
+
// serialize pvp token
JAXBContext ctx = JAXBContext.newInstance(PvpTokenType.class);
ObjectFactory of = new ObjectFactory();
@@ -113,6 +115,17 @@ public class Pvp18pSoapHandler implements SOAPHandler<SOAPMessageContext> {
}
+ /**
+ * Extension point to add custom modifications on request level.
+ *
+ * @param pvpTokenType Current PVP Token.
+ */
+ protected void dynamicPvpTokenModifierExtension(PvpTokenType pvpTokenType) {
+ log.trace("Do nothing in empty extension");
+
+ }
+
+
public Set<QName> getHeaders() {
return null;
}