Class SubmitHackedHandler
java.lang.Object
fc.web.forms.SubmitHackedHandler
This class handles form submit data that may have been hacked/modified
by the client. By default, this class logs a warning. Subclasses should
override the
handle(HttpServletRequest, String) method as needed.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SubmitHackedHandler
-
-
Method Details
-
handle
public void handle(jakarta.servlet.http.HttpServletRequest req, String msg) throws SubmitHackedException This method should handle submit data that is hacked (different than the options/values allowed by the html form). Possible actions are to log an error, email the developers, identify compromised machines etc.If this method throws a
SubmitHackedException, then further form processing will stop and the invoking page/servlet can handle the exception appropriately.The default implementation simply logs the error and then returns.
- Throws:
SubmitHackedException
-