Package org.apache.ofbiz.webapp.control
Class ProtectViewWorker
- java.lang.Object
-
- org.apache.ofbiz.webapp.control.ProtectViewWorker
-
public final class ProtectViewWorker extends java.lang.Object
Common Workers
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
checkProtectedView(javax.servlet.http.HttpServletRequest request, javax.servlet.http.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 Detail
-
checkProtectedView
public static java.lang.String checkProtectedView(javax.servlet.http.HttpServletRequest request, javax.servlet.http.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- 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
-
-