| java.lang.Object org.apache.derbyTesting.functionTests.tests.jdbcapi.dataSourcePermissions org.apache.derbyTesting.functionTests.tests.derbynet.dataSourcePermissions_net
All known Subclasses: org.apache.derbyTesting.functionTests.tests.derbynet.testSecMec,
Method Summary | |
public void | allUsernameAndPasswordTests() Added for Derby-406
Tests DataSource with a number of different username/password
input combinations. | public void | checkMessageText(Connection conn, String retrieveMessageTextValue) | public javax.sql.ConnectionPoolDataSource | getCPDS(String database, String user, String password) | public javax.sql.DataSource | getDS(String database, String user, String password) | public javax.sql.DataSource | getDS(String database, String user, String password, Properties attrs) | public String | getJDBCUrl(String db, String attrs) | protected static boolean | isServerStarted(NetworkServerControl server, int ntries) | public static void | main(String[] args) | public void | setProperties() | public void | shutdown() | public void | start() | public boolean | supportsPooling() | public boolean | supportsUnicodeNames() | public boolean | supportsXA() | public void | testClientDataSourceProperties() | public void | testConnectionAttributes() Added for Derby-409
Designed to test combinations of attributes to insure that
no exceptions are thrown. | public void | testDataSourceConnection(String testType, String username, String password, String attributes) A method that attempts to retrieve the connection via a datasource
with the given user, password and connection attributes.
Parameters: testType - A string description of the type of test Parameters: username - The user Parameters: password - The Password Parameters: attributes - A string to be added to a properties object. | public void | testDescription() | public void | testRetrieveMessageText() Test property retrieveMessageText to retrieve message text
Property defaults to true for Network Client but can be set to
false to disable the procedure call. |
dataSourcePermissions_net | public dataSourcePermissions_net()(Code) | | |
allUsernameAndPasswordTests | public void allUsernameAndPasswordTests()(Code) | | Added for Derby-406
Tests DataSource with a number of different username/password
input combinations.
|
setProperties | public void setProperties()(Code) | | |
shutdown | public void shutdown()(Code) | | |
start | public void start()(Code) | | |
supportsPooling | public boolean supportsPooling()(Code) | | |
supportsUnicodeNames | public boolean supportsUnicodeNames()(Code) | | |
supportsXA | public boolean supportsXA()(Code) | | |
testClientDataSourceProperties | public void testClientDataSourceProperties() throws SQLException(Code) | | Test Client specific dataSource Properties
|
testConnectionAttributes | public void testConnectionAttributes()(Code) | | Added for Derby-409
Designed to test combinations of attributes to insure that
no exceptions are thrown.
|
testDataSourceConnection | public void testDataSourceConnection(String testType, String username, String password, String attributes) throws SQLException(Code) | | A method that attempts to retrieve the connection via a datasource
with the given user, password and connection attributes.
Parameters: testType - A string description of the type of test Parameters: username - The user Parameters: password - The Password Parameters: attributes - A string to be added to a properties object. Anull string means null Property object. throws: SQLException - |
testDescription | public void testDescription() throws SQLException(Code) | | Test description property
|
testRetrieveMessageText | public void testRetrieveMessageText() throws SQLException(Code) | | Test property retrieveMessageText to retrieve message text
Property defaults to true for Network Client but can be set to
false to disable the procedure call.
|
|
|