summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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;
}