Challenge 4 done

This commit is contained in:
Nanne Baars
2017-04-16 05:14:47 +02:00
parent ec36dbd43c
commit 3ccfcac8ff
7 changed files with 19 additions and 18 deletions

View File

@ -162,7 +162,7 @@
<version>${h2.version}</version>
</dependency>
<dependency>
<groupId>hsqldb</groupId>
<groupId>org.hsqldb</groupId>
<artifactId>hsqldb</artifactId>
<version>${hsqldb.version}</version>
</dependency>

View File

@ -38,6 +38,7 @@ import java.util.Map;
* @version $Id: $Id
*/
//TODO: class we need to refactor to new structure, we can put the connection in the current session of the user
// start using jdbc template
public class DatabaseUtilities
{

View File

@ -6,9 +6,7 @@
<changeSet author="WebGoat" id="init_schema">
<createTable tableName="web_goat_user">
<column name="username" type="varchar(32)">
<constraints unique="true"/>
</column>
<column name="username" type="varchar(32)"/>
<column name="password" type="varchar(32)"/>
<column name="role" type="varchar(32)"/>
</createTable>