Unify DatabaseUtilities.makeConnection()

Remove the hack to support Web services lessons that do not have a WebSession
Now that they have their own reference to WebgoatContext, they do not need one


git-svn-id: http://webgoat.googlecode.com/svn/trunk@140 4033779f-a91e-0410-96ef-6bf7bf53c507
This commit is contained in:
rogan.dawes
2007-07-10 11:51:01 +00:00
parent ada66dae10
commit 53487970f6
5 changed files with 3 additions and 54 deletions

View File

@ -409,7 +409,7 @@ public class SoapRequest extends LessonAdapter
{
try
{
Connection connection = DatabaseUtilities.makeConnection();
Connection connection = DatabaseUtilities.makeConnection(getWebgoatContext());
if (connection == null)
{
return null;

View File

@ -271,7 +271,7 @@ public class WSDLScanning extends LessonAdapter
{
try
{
Connection connection = DatabaseUtilities.makeConnection();
Connection connection = DatabaseUtilities.makeConnection(getWebgoatContext());
if (connection == null)
{
return null;

View File

@ -226,7 +226,7 @@ public class WsSqlInjection extends LessonAdapter
{
try
{
Connection connection = DatabaseUtilities.makeConnection();
Connection connection = DatabaseUtilities.makeConnection(getWebgoatContext());
if (connection == null)
{
return null;