summaryrefslogtreecommitdiff
path: root/bkucommon/src/main/java/at/gv
diff options
context:
space:
mode:
Diffstat (limited to 'bkucommon/src/main/java/at/gv')
-rw-r--r--bkucommon/src/main/java/at/gv/egiz/bku/binding/AbstractBindingProcessor.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/bkucommon/src/main/java/at/gv/egiz/bku/binding/AbstractBindingProcessor.java b/bkucommon/src/main/java/at/gv/egiz/bku/binding/AbstractBindingProcessor.java
index 4f6e58f4..1b2778c4 100644
--- a/bkucommon/src/main/java/at/gv/egiz/bku/binding/AbstractBindingProcessor.java
+++ b/bkucommon/src/main/java/at/gv/egiz/bku/binding/AbstractBindingProcessor.java
@@ -24,6 +24,9 @@
package at.gv.egiz.bku.binding;
+import java.net.CookieHandler;
+import java.net.CookieManager;
+import java.net.CookiePolicy;
import java.util.Date;
import java.util.Locale;
@@ -87,6 +90,8 @@ public abstract class AbstractBindingProcessor implements BindingProcessor {
this.id = IdFactory.getInstance().createId(id);
this.stal = stal;
this.commandInvoker = commandInvoker;
+ // disable cookies
+ CookieHandler.setDefault(new CookieManager(null, CookiePolicy.ACCEPT_NONE));
}
@Override