Package org.owasp.csrfguard.action
Class Forward
- java.lang.Object
-
- org.owasp.csrfguard.action.AbstractAction
-
- org.owasp.csrfguard.action.Forward
-
- All Implemented Interfaces:
Serializable,IAction
public final class Forward extends AbstractAction
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Forward()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, CsrfGuardException csrfGuardException, CsrfGuard csrfGuard)Executes this action.-
Methods inherited from class org.owasp.csrfguard.action.AbstractAction
getName, getParameter, getParameterMap, setName, setParameter
-
-
-
-
Method Detail
-
execute
public void execute(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, CsrfGuardException csrfGuardException, CsrfGuard csrfGuard) throws CsrfGuardExceptionDescription copied from interface:IActionExecutes this action.- Parameters:
request- the HTTP request that triggered a potential CSRF attackresponse- the HTTP response object associated with the potentially malicious HTTP requestcsrfGuardException- the CSRF Guard exception objectcsrfGuard- the main CSRF Guard object, with access to inner workings of the solution- Throws:
CsrfGuardException- the exception type thrown in case of a potential CSRF attack
-
-