From cdd4a205ba1b4bc921b818cb5ec85be58b410f15 Mon Sep 17 00:00:00 2001 From: stefanp Date: Thu, 7 Mar 2002 14:31:12 +0000 Subject: [PATCH] added field realm for http authorization --- src/helma/framework/ResponseTrans.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/helma/framework/ResponseTrans.java b/src/helma/framework/ResponseTrans.java index f46b5b74..ca6d5029 100644 --- a/src/helma/framework/ResponseTrans.java +++ b/src/helma/framework/ResponseTrans.java @@ -35,6 +35,11 @@ public class ResponseTrans implements Externalizable { */ public int status = 0; + /** + * Used for HTTP authentication + */ + public String realm; + // name of the skin to be rendered after completion, if any public transient String skin = null; @@ -343,6 +348,7 @@ public class ResponseTrans implements Externalizable { nCookies = s.readInt (); cache = s.readBoolean (); status = s.readInt (); + realm = (String) s.readObject (); } public void writeExternal (ObjectOutput s) throws IOException { @@ -355,6 +361,7 @@ public class ResponseTrans implements Externalizable { s.writeInt (nCookies); s.writeBoolean (cache); s.writeInt (status); + s.writeObject (realm); } }