Author: ashish
Date: Fri May 29 12:21:05 2009
New Revision: 779941
URL:
http://svn.apache.org/viewvc?rev=779941&view=revLog:
Making developer's life easy.
Converted one request into two so that a user don't have secure server setup can also use this feature for testing purpose.
Modified:
ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/controller.xml
Modified: ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/controller.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/controller.xml?rev=779941&r1=779940&r2=779941&view=diff==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/controller.xml (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/controller.xml Fri May 29 12:21:05 2009
@@ -1792,12 +1792,21 @@
<response type="view" name="success" value="cartToGoogleCheckout"/>
</request-map>
- <request-map uri="googleCheckoutNotification">
+ <!-- This will be used in production instance to provide secure communication -->
+ <request-map uri="secureGoogleCheckoutNotification">
+ <security auth="false" https="true"/>
+ <event type="java" path="org.ofbiz.googlecheckout.GoogleCheckoutResponseEvents" invoke="checkNotification"/>
+ <response type="view" name="success" value="cartToGoogleCheckout"/>
+ </request-map>
+
+ <!-- This request can be used for server that don't have SSL certificate installed or sandbox instance that handles google response on unsecure port-->
+ <request-map uri="unSecureGoogleCheckoutNotification">
<security auth="false" https="false"/>
<event type="java" path="org.ofbiz.googlecheckout.GoogleCheckoutResponseEvents" invoke="checkNotification"/>
<response type="view" name="success" value="cartToGoogleCheckout"/>
</request-map>
+
<!-- End of Request Mappings -->
<!-- View Mappings -->