Guardian@JUMPERZ.NET :Plugins :Standard plugins :CSRFDetector :

Configuring Database

Prev Next

This plugin uses RDBMS. Currently, the supported databases are HSQLDB, PostgreSQL and MySQL.

HSQLDB is integrated in the JAR file, so that you can use the database with no configuration.

If you want to use PostgreSQL, MySQL or other JDBC compatible databases, you need to set up and configure the database. Take the the following steps.

- Create the database user
- Create the database
- Create the schema
- Install JDBC Driver
- Configure CSRFDetector.dbmsUrl
- Configure CSRFDetector.dbmsUser
- Configure CSRFDetector.dbmsPass
- Configure CSRFDetector.jdbcDriverClassName

When you create the database schema, you can use the following examples.

create table tcsrf
(
t TIMESTAMP,
sessionGroupName varchar( 256 ),
sessionId varchar( 256 ),
token varchar( 128 )
);



CSRFDetector