pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.annotations
Annotation Type RequireToken


@Documented
@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface RequireToken

can be used to mark methods to require a valid Token in the Command triggering its execution.

This will provide a good protection against cross site request forgery (CSRF / XSRF). The token will be tied to the actual Command by including its hash code during the generation.

Version:
$Revision: 1381 $
Author:
Thomas Weber