From 73413d2d4e13844bf8f0880c72d9cc9ab0d8dc45 Mon Sep 17 00:00:00 2001 From: "Niels Erik G. Nielsen" Date: Wed, 1 May 2013 13:22:44 -0400 Subject: [PATCH] Clears requests and responses on new ip auth --- src/main/java/com/indexdata/mkjsf/pazpar2/Pz2ProxyBean.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/com/indexdata/mkjsf/pazpar2/Pz2ProxyBean.java b/src/main/java/com/indexdata/mkjsf/pazpar2/Pz2ProxyBean.java index f5c0ad0..87daf80 100644 --- a/src/main/java/com/indexdata/mkjsf/pazpar2/Pz2ProxyBean.java +++ b/src/main/java/com/indexdata/mkjsf/pazpar2/Pz2ProxyBean.java @@ -74,6 +74,9 @@ public class Pz2ProxyBean extends Pz2Bean implements ServiceProxyInterface { if (user.isAuthenticated()) { user.clear(); } + pzreq.getRecord().removeParametersInState(); + pzreq.getSearch().removeParametersInState(); + pzresp.reset(); ((ServiceProxyClient)searchClient).ipAuthenticate(user); } } -- 1.7.10.4