diff options
author | Thomas <> | 2021-09-02 16:52:45 +0200 |
---|---|---|
committer | Thomas <> | 2021-09-02 16:52:45 +0200 |
commit | 5f78faac90385023533de2cb0bd4f7134cfab432 (patch) | |
tree | 3980517068ebd6ce498f3c86059b9bd3ca140fa5 | |
parent | 91aedf36ce06ab74d6f5223e25fd83c7b21236a5 (diff) | |
download | egovutils-5f78faac90385023533de2cb0bd4f7134cfab432.tar.gz egovutils-5f78faac90385023533de2cb0bd4f7134cfab432.tar.bz2 egovutils-5f78faac90385023533de2cb0bd4f7134cfab432.zip |
add extension-point into PVP SOAP-header handler
-rw-r--r-- | src/main/java/at/gv/util/client/pvp/rprofile/Pvp18pSoapHandler.java | 13 |
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; } |