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.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@779941 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Ashish Vijaywargiya
2009-05-29 12:21:05 +00:00
parent bf1df9af05
commit 673d8f689d
@@ -1792,12 +1792,21 @@ under the License.
<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 -->