Author: jleroux Date: Wed Mar 21 20:53:41 2018 New Revision: 1827439 URL: http://svn.apache.org/viewvc?rev=1827439&view=rev Log: Fixed: The "request" attribute type of the userLogin service is wrong (OFBIZ-10304)
It should have been org.apache.catalina.connector.RequestFacade" instead of javax.servlet.http.HttpServletRequest see the Jira for details Modified: ofbiz/ofbiz-framework/trunk/framework/common/servicedef/services.xml Modified: ofbiz/ofbiz-framework/trunk/framework/common/servicedef/services.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/framework/common/servicedef/services.xml?rev=1827439&r1=1827438&r2=1827439&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/framework/common/servicedef/services.xml (original) +++ ofbiz/ofbiz-framework/trunk/framework/common/servicedef/services.xml Wed Mar 21 20:53:41 2018 @@ -379,7 +379,7 @@ under the License. <service name="userLogin" engine="java" location="org.apache.ofbiz.common.login.LoginServices" invoke="userLogin"> <description>Used to Automatically Authenticate a username/password; create a UserLogin object</description> <implements service="authenticationInterface"/> - <attribute name="request" mode="IN" type="javax.servlet.http.HttpServletRequest" optional="true"/> + <attribute name="request" mode="IN" type="org.apache.catalina.connector.RequestFacade" optional="true"/> </service> <service name="createUserLogin" engine="java" auth="false" location="org.apache.ofbiz.common.login.LoginServices" invoke="createUserLogin">