You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by Apache Wiki <wi...@apache.org> on 2010/01/28 08:54:16 UTC
[Tapestry Wiki] Trivial Update of "Tapestry5CSRF" by newacct
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Tapestry Wiki" for change notification.
The "Tapestry5CSRF" page has been changed by newacct.
http://wiki.apache.org/tapestry/Tapestry5CSRF?action=diff&rev1=3&rev2=4
--------------------------------------------------
{
// Note: Change this so the security code (sid) created by a
// secure random source (like SecureRandom)
- securityCode = new Long(System.currentTimeMillis()).toString();
+ securityCode = Long.toString(System.currentTimeMillis());
}
public String getSecurityCode() {
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org