OWASP CSRFGuard 3.1.0 Stable Release
Using with Maven
OWASP CSRFGuard 3.1.0 will be available on Maven Central. Add the following dependency to your Maven POM file to use the library:
<dependency>
<groupId>org.owasp</groupId>
<artifactId>csrfguard</artifactId>
<version>3.1.0</version>
</dependency>
Building the code
- Make sure that you have Apache Maven 3.0.4 or higher installed;
- Make sure that you have GPG installed and a secret key generated with it;
- Clone this repository locally;
- Build the
csrfguard
project first ascd csrfguard
followed bymvn clean install
; - Build and run the
csrfguard-test
project ascd ../csrfguard-test
followed bymvn clean package tomcat7:run
; - Use a web browser to access
http://localhost:8000
to open the home page of the test project.