Hi,
Ofbiz Services security model allows us to intercept a call to service
before the actual service executed. On similar lines Do we have a way to
intercept a Web Request for Security Check before the Event or view is
rendered, Something like
<request-map uri="orderentry">
<security https="true" auth="true"/>
<permission-service service-name="orderEntryGenericPermission"
action="Create" error-view="PermissionErrorScreen" />
<event type="java" path="
org.ofbiz.order.shoppingcart.ShoppingCartEvents" invoke="routeOrderEntry"/>
<response name="init" type="view" value="checkinits"/>
<response name="agreements" type="view" value="orderagreements"/>
<response name="cart" type="view" value="showcart"/>
<response name="error" type="view" value="checkinits"/>
</request-map>
Thanks and Regards
Anil Patel