Hi Ankur,

In article <[EMAIL PROTECTED]>,
Thu, 19 Feb 2004 17:10:41 +1100,
[EMAIL PROTECTED] wrote: 
ankur.kumar> 2004/02/19 17:07:48:528 EST [DEBUG] WebClientTestCaseDelegate - 
-Exception 
ankur.kumar> in test <org.apache.cactus.util.ChainedRunti
ankur.kumar> eException: Failed to get the test results at 
ankur.kumar> [http://pc23165:80/eservice/JspRedirectorSecure]>
[...]
ankur.kumar> org.apache.cactus.client.ParsingException: Not a valid response [302 
Moved 
ankur.kumar> Temporarily]

It seems that the authentication is passed, however,
the cookie (JSESSIONID) may not be passesed to the Redirector.
Can you trace the HTTP packets and check them?

If the cookie is not passed to the Redirector, please change the
"pc20165" to "localhost" in your testcase and cactus.properties.
WebRequest#addCookie(name, value), which is used to set the cookie in the
FormAuthentication is implemented as addCookie("localhost", name, value).

I'll propose a modified FormAuthentication soon.

Regards,
----
Kazuhito SUGURI
mailto:[EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to