Package org.apache.ofbiz.webapp.control
Class ProtectViewWorker
java.lang.Object
org.apache.ofbiz.webapp.control.ProtectViewWorker
Common Workers
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
checkProtectedView
(HttpServletRequest request, HttpServletResponse response) An HTTP WebEvent handler that checks to see if an userLogin should be tarpitted The decision is made in regard of number of hits in last period of time
-
Method Details
-
checkProtectedView
An HTTP WebEvent handler that checks to see if an userLogin should be tarpitted The decision is made in regard of number of hits in last period of time- Parameters:
request
- The HTTP request object for the current JSP or Servlet request.response
- The HTTP response object for the current JSP or Servlet request.- Returns:
- String
-