[Owasp-csrfguard] Struts csfr token generation
Steve Dittmann
sdittm1 at gmail.com
Wed Sep 7 18:03:39 EDT 2011
I have a struts 1 application.
In the logonHandler.java the user is logged in etc.
And then forwarded and handled within the struts framework.
mapping.findForward("Send”);
Since all the request are sent from the .jsp via the action.jsp with some
params I wanted to add the csrf token during the longonHandler.java
How can I generate the csrf token within the java?
Per the documentation for javascript I use <script
src="/JavaScriptServlet"></script> along with the mapping in the web.xml.
Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.owasp.org/pipermail/owasp-csrfguard/attachments/20110907/3e470c56/attachment.html
More information about the Owasp-csrfguard
mailing list