Author: erwan
Date: Wed Mar 28 05:19:29 2012
New Revision: 1306175
URL:
http://svn.apache.org/viewvc?rev=1306175&view=revLog:
ApplicationSessionCookieConfig.getSessionCookieName() is now deprecated and replaced by SessionConfig.getSessionCookieName()
Modified:
ofbiz/trunk/framework/catalina/src/org/ofbiz/catalina/container/CrossSubdomainSessionValve.java
Modified: ofbiz/trunk/framework/catalina/src/org/ofbiz/catalina/container/CrossSubdomainSessionValve.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/catalina/src/org/ofbiz/catalina/container/CrossSubdomainSessionValve.java?rev=1306175&r1=1306174&r2=1306175&view=diff==============================================================================
--- ofbiz/trunk/framework/catalina/src/org/ofbiz/catalina/container/CrossSubdomainSessionValve.java (original)
+++ ofbiz/trunk/framework/catalina/src/org/ofbiz/catalina/container/CrossSubdomainSessionValve.java Wed Mar 28 05:19:29 2012
@@ -25,7 +25,7 @@ import javax.servlet.http.Cookie;
import org.apache.catalina.connector.Request;
import org.apache.catalina.connector.Response;
-import org.apache.catalina.core.ApplicationSessionCookieConfig;
+import org.apache.catalina.util.SessionConfig;
import org.apache.catalina.valves.ValveBase;
import org.apache.tomcat.util.buf.MessageBytes;
import org.apache.tomcat.util.http.MimeHeaders;
@@ -52,7 +52,7 @@ public class CrossSubdomainSessionValve
if (cookies != null) {
for (int i = 0; i < cookies.length; i++) {
Cookie cookie = cookies[i];
- if (ApplicationSessionCookieConfig.getSessionCookieName(null).equals(cookie.getName())) {
+ if (SessionConfig.getSessionCookieName(null).equals(cookie.getName())) {
replaceCookie(request, response, cookie);
}
}