Message: The following issue has been closed.
--------------------------------------------------------------------- View the issue: http://issues.apache.org/jira/browse/CACTUS-37 Here is an overview of the issue: --------------------------------------------------------------------- Key: CACTUS-37 Summary: FormAuthentication assumes "localhost" when adding cookies Type: Bug Status: Closed Priority: Major Resolution: FIXED Project: Cactus Components: Framework Fix Fors: 1.6 Assignee: Vincent Massol Reporter: Jason Arndt Created: Wed, 12 Mar 2003 8:49 PM Updated: Sat, 17 Apr 2004 8:48 AM Environment: Operating System: All Platform: All Description: When the FormAuthentication's authenticate method adds the session id cookie to the session, it uses the BaseWebRequest addCookie(theName, theValue) method, which calls the addCookie(theDomain, theName, theValue) method, but uses "localhost" as theDomain. This makes all tests required to run with the cactus.contextURL property as "http://localhost" in order to work. However, that is not always the case, so the cookie fails to be added to the session. The call to addCookie that FormAuthentication makes needs to use the addCookie (theDomain, theName, theValue) method and supply the Domain obtained from the cactus.contextURL property. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
