org.objectweb.cjdbc.scenario.templates
Class SQLInjectionTemplate
java.lang.Object
TestCase
org.objectweb.cjdbc.scenario.templates.NoTemplate
org.objectweb.cjdbc.scenario.templates.Template
org.objectweb.cjdbc.scenario.templates.SQLInjectionTemplate
- Direct Known Subclasses:
- SQLInjectionScenario
- public class SQLInjectionTemplate
- extends Template
This class defines a SQLInjectionTemplate
- Version:
- 1.0
- Author:
- Nicolas Modrzyk
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cm
protected ControllerManager cm
hm
protected DatabaseManager hm
hm1
protected ComponentInterface hm1
hm2
protected ComponentInterface hm2
hm3
protected ComponentInterface hm3
controller
protected Controller controller
mainVdb
protected VirtualDatabase mainVdb
standAlone
static final java.lang.String standAlone
standaloneTest
protected static final boolean standaloneTest
bundle
protected static final java.util.ResourceBundle bundle
jdbcurl
protected static final java.lang.String jdbcurl
urls
protected static final java.lang.String[] urls
jdbcuser
protected static final java.lang.String jdbcuser
users
protected static final java.lang.String[] users
jdbcpassword
protected static final java.lang.String jdbcpassword
passwords
protected static final java.lang.String[] passwords
jdbcdriverclass
protected static final java.lang.String jdbcdriverclass
classes
protected static final java.lang.String[] classes
cjdbcurl
protected static final java.lang.String cjdbcurl
cjdbcpassword
protected static final java.lang.String cjdbcpassword
cjdbcuser
protected static final java.lang.String cjdbcuser
threadcount
protected static final java.lang.String threadcount
threadstartwaittimerange
protected static final java.lang.String threadstartwaittimerange
unitruncount
protected static final java.lang.String unitruncount
threadwaittime
protected static final java.lang.String threadwaittime
jointhreadtimeout
protected static final java.lang.String jointhreadtimeout
dropTables
protected static final java.lang.String dropTables
createTables
protected static final java.lang.String createTables
keyIndex
protected static final java.lang.String keyIndex
SQLInjectionTemplate
public SQLInjectionTemplate()
tokenize
static java.lang.String[] tokenize(java.lang.String param)
getConnection
public java.sql.Connection getConnection()
throws java.lang.Exception
- Throws:
java.lang.Exception
- See Also:
Template.getCJDBCConnection()
getBackendConnection
public java.sql.Connection getBackendConnection(int index)
throws java.lang.Exception
- Throws:
java.lang.Exception
- See Also:
Template.getHypersonicConnection(int)
setUp
protected void setUp()
- Specified by:
setUp
in class Template
- See Also:
junit.framework.TestCase#setUp()
tearDown
protected void tearDown()
- Specified by:
tearDown
in class Template
- See Also:
junit.framework.TestCase#tearDown()
Copyright © 2002, 2005 - ObjectWeb Consortium - All Rights Reserved.