db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davi...@apache.org
Subject svn commit: r399078 [2/2] - in /db/derby/code/trunk: java/build/org/apache/derbyBuild/ java/client/org/apache/derby/client/am/ java/client/org/apache/derby/client/net/ java/engine/org/apache/derby/loc/ java/shared/org/apache/derby/shared/common/referen...
Date Tue, 02 May 2006 23:10:48 GMT
Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/DerbyNetClient/testSecMec.out
URL: http://svn.apache.org/viewcvs/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/DerbyNetClient/testSecMec.out?rev=399078&r1=399077&r2=399078&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/DerbyNetClient/testSecMec.out
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/DerbyNetClient/testSecMec.out
Tue May  2 16:10:44 2006
@@ -26,10 +26,10 @@
 TEST_DS(user=calvin) OK
 # jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=calvin;securityMechanism=4
 TEST_DS (user=calvin,securityMechanism=4) OK
-# jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=calvin;securityMechanism=3
- EXCEPTION null password not supported
-TEST_DS (user=calvin,securityMechanism=3)EXCEPTION testSecurityMechanism()  null password
not supported
-# jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=calvin;securityMechanism=9
- EXCEPTION null password not supported
-TEST_DS (user=calvin,securityMechanism=9)EXCEPTION testSecurityMechanism()  null password
not supported
+# jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=calvin;securityMechanism=3
- EXCEPTION Password can not be null.
+TEST_DS (user=calvin,securityMechanism=3)EXCEPTION testSecurityMechanism()  Password can
not be null.
+# jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=calvin;securityMechanism=9
- EXCEPTION Password can not be null.
+TEST_DS (user=calvin,securityMechanism=9)EXCEPTION testSecurityMechanism()  Password can
not be null.
 Test: jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;password=hobbes
 TEST_DS(password=hobbes) OK
 # jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;password=hobbes;securityMechanism=4
@@ -42,68 +42,68 @@
 TEST_DS() OK
 # jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;;securityMechanism=4
 TEST_DS (,securityMechanism=4) OK
-# jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;;securityMechanism=3 - EXCEPTION
null password not supported
-TEST_DS (,securityMechanism=3)EXCEPTION testSecurityMechanism()  null password not supported
-# jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;;securityMechanism=9 - EXCEPTION
null password not supported
-TEST_DS (,securityMechanism=9)EXCEPTION testSecurityMechanism()  null password not supported
+# jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;;securityMechanism=3 - EXCEPTION
Password can not be null.
+TEST_DS (,securityMechanism=3)EXCEPTION testSecurityMechanism()  Password can not be null.
+# jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;;securityMechanism=9 - EXCEPTION
Password can not be null.
+TEST_DS (,securityMechanism=9)EXCEPTION testSecurityMechanism()  Password can not be null.
 -----
 Testing with derby.drda.securityMechanism=USER_ONLY_SECURITY
 Checking security mechanism authentication with DriverManager
-T4: jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=neelima;password=lee;securityMechanism=3
- EXCEPTION Connection authorization failure occurred.  Reason: security mechanism not supported
+T4: jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=neelima;password=lee;securityMechanism=3
- EXCEPTION Connection authentication failure occurred.  Reason: security mechanism not supported.
 T1: jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat
 T2: jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=max
-T3: jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=neelima;password=lee
- EXCEPTION Connection authorization failure occurred.  Reason: security mechanism not supported
+T3: jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=neelima;password=lee
- EXCEPTION Connection authentication failure occurred.  Reason: security mechanism not supported.
 T5: jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=neelima;password=lee;securityMechanism=9
- EXCEPTION Security exception encountered, see next exception for details.
 T6: jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=neelima;securityMechanism=4
 T8: jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=neelima;password=lee;securityMechanism=4
-SECMEC_USRIDPWD:EXCEPTION testSecurityMechanism()  Connection authorization failure occurred.
 Reason: security mechanism not supported
+SECMEC_USRIDPWD:EXCEPTION testSecurityMechanism()  Connection authentication failure occurred.
 Reason: security mechanism not supported.
 SECMEC_EUSRIDPWD:EXCEPTION testSecurityMechanism()  Security exception encountered, see next
exception for details.
 Test DERBY-1080
 withConnectionPooling
 DERBY-1080  EXCEPTION ()  Security exception encountered, see next exception for details.
 ******testAllCombinationsOfUserPasswordsSecMecInput***
-Test: jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=calvin;password=hobbes
- EXCEPTION Connection authorization failure occurred.  Reason: security mechanism not supported
-TEST_DS(user=calvin;password=hobbes)EXCEPTION getDataSourceConnection()  Connection authorization
failure occurred.  Reason: security mechanism not supported
+Test: jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=calvin;password=hobbes
- EXCEPTION Connection authentication failure occurred.  Reason: security mechanism not supported.
+TEST_DS(user=calvin;password=hobbes)EXCEPTION getDataSourceConnection()  Connection authentication
failure occurred.  Reason: security mechanism not supported.
 # jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=calvin;password=hobbes;securityMechanism=4
 TEST_DS (user=calvin;password=hobbes,securityMechanism=4) OK
-# jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=calvin;password=hobbes;securityMechanism=3
- EXCEPTION Connection authorization failure occurred.  Reason: security mechanism not supported
-TEST_DS (user=calvin;password=hobbes,securityMechanism=3)EXCEPTION testSecurityMechanism()
 Connection authorization failure occurred.  Reason: security mechanism not supported
+# jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=calvin;password=hobbes;securityMechanism=3
- EXCEPTION Connection authentication failure occurred.  Reason: security mechanism not supported.
+TEST_DS (user=calvin;password=hobbes,securityMechanism=3)EXCEPTION testSecurityMechanism()
 Connection authentication failure occurred.  Reason: security mechanism not supported.
 # jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=calvin;password=hobbes;securityMechanism=9
- EXCEPTION Security exception encountered, see next exception for details.
 TEST_DS (user=calvin;password=hobbes,securityMechanism=9)EXCEPTION testSecurityMechanism()
 Security exception encountered, see next exception for details.
 Test: jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=calvin
 TEST_DS(user=calvin) OK
 # jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=calvin;securityMechanism=4
 TEST_DS (user=calvin,securityMechanism=4) OK
-# jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=calvin;securityMechanism=3
- EXCEPTION null password not supported
-TEST_DS (user=calvin,securityMechanism=3)EXCEPTION testSecurityMechanism()  null password
not supported
-# jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=calvin;securityMechanism=9
- EXCEPTION null password not supported
-TEST_DS (user=calvin,securityMechanism=9)EXCEPTION testSecurityMechanism()  null password
not supported
-Test: jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;password=hobbes - EXCEPTION
Connection authorization failure occurred.  Reason: security mechanism not supported
-TEST_DS(password=hobbes)EXCEPTION getDataSourceConnection()  Connection authorization failure
occurred.  Reason: security mechanism not supported
+# jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=calvin;securityMechanism=3
- EXCEPTION Password can not be null.
+TEST_DS (user=calvin,securityMechanism=3)EXCEPTION testSecurityMechanism()  Password can
not be null.
+# jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=calvin;securityMechanism=9
- EXCEPTION Password can not be null.
+TEST_DS (user=calvin,securityMechanism=9)EXCEPTION testSecurityMechanism()  Password can
not be null.
+Test: jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;password=hobbes - EXCEPTION
Connection authentication failure occurred.  Reason: security mechanism not supported.
+TEST_DS(password=hobbes)EXCEPTION getDataSourceConnection()  Connection authentication failure
occurred.  Reason: security mechanism not supported.
 # jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;password=hobbes;securityMechanism=4
 TEST_DS (password=hobbes,securityMechanism=4) OK
-# jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;password=hobbes;securityMechanism=3
- EXCEPTION Connection authorization failure occurred.  Reason: security mechanism not supported
-TEST_DS (password=hobbes,securityMechanism=3)EXCEPTION testSecurityMechanism()  Connection
authorization failure occurred.  Reason: security mechanism not supported
+# jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;password=hobbes;securityMechanism=3
- EXCEPTION Connection authentication failure occurred.  Reason: security mechanism not supported.
+TEST_DS (password=hobbes,securityMechanism=3)EXCEPTION testSecurityMechanism()  Connection
authentication failure occurred.  Reason: security mechanism not supported.
 # jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;password=hobbes;securityMechanism=9
- EXCEPTION Security exception encountered, see next exception for details.
 TEST_DS (password=hobbes,securityMechanism=9)EXCEPTION testSecurityMechanism()  Security
exception encountered, see next exception for details.
 Test: jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;
 TEST_DS() OK
 # jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;;securityMechanism=4
 TEST_DS (,securityMechanism=4) OK
-# jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;;securityMechanism=3 - EXCEPTION
null password not supported
-TEST_DS (,securityMechanism=3)EXCEPTION testSecurityMechanism()  null password not supported
-# jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;;securityMechanism=9 - EXCEPTION
null password not supported
-TEST_DS (,securityMechanism=9)EXCEPTION testSecurityMechanism()  null password not supported
+# jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;;securityMechanism=3 - EXCEPTION
Password can not be null.
+TEST_DS (,securityMechanism=3)EXCEPTION testSecurityMechanism()  Password can not be null.
+# jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;;securityMechanism=9 - EXCEPTION
Password can not be null.
+TEST_DS (,securityMechanism=9)EXCEPTION testSecurityMechanism()  Password can not be null.
 -----
 Testing with derby.drda.securityMechanism=CLEAR_TEXT_PASSWORD_SECURITY
 Checking security mechanism authentication with DriverManager
 T4: jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=neelima;password=lee;securityMechanism=3
-T1: jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat - EXCEPTION Connection
authorization failure occurred.  Reason: security mechanism not supported
-T2: jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=max - EXCEPTION Connection
authorization failure occurred.  Reason: security mechanism not supported
+T1: jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat - EXCEPTION Connection
authentication failure occurred.  Reason: security mechanism not supported.
+T2: jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=max - EXCEPTION Connection
authentication failure occurred.  Reason: security mechanism not supported.
 T3: jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=neelima;password=lee
 T5: jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=neelima;password=lee;securityMechanism=9
- EXCEPTION Security exception encountered, see next exception for details.
-T6: jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=neelima;securityMechanism=4
- EXCEPTION Connection authorization failure occurred.  Reason: security mechanism not supported
-T8: jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=neelima;password=lee;securityMechanism=4
- EXCEPTION Connection authorization failure occurred.  Reason: security mechanism not supported
+T6: jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=neelima;securityMechanism=4
- EXCEPTION Connection authentication failure occurred.  Reason: security mechanism not supported.
+T8: jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=neelima;password=lee;securityMechanism=4
- EXCEPTION Connection authentication failure occurred.  Reason: security mechanism not supported.
 SECMEC_USRIDPWD: OK
 SECMEC_EUSRIDPWD:EXCEPTION testSecurityMechanism()  Security exception encountered, see next
exception for details.
 Test DERBY-1080
@@ -112,84 +112,84 @@
 ******testAllCombinationsOfUserPasswordsSecMecInput***
 Test: jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=calvin;password=hobbes
 TEST_DS(user=calvin;password=hobbes) OK
-# jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=calvin;password=hobbes;securityMechanism=4
- EXCEPTION Connection authorization failure occurred.  Reason: security mechanism not supported
-TEST_DS (user=calvin;password=hobbes,securityMechanism=4)EXCEPTION testSecurityMechanism()
 Connection authorization failure occurred.  Reason: security mechanism not supported
+# jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=calvin;password=hobbes;securityMechanism=4
- EXCEPTION Connection authentication failure occurred.  Reason: security mechanism not supported.
+TEST_DS (user=calvin;password=hobbes,securityMechanism=4)EXCEPTION testSecurityMechanism()
 Connection authentication failure occurred.  Reason: security mechanism not supported.
 # jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=calvin;password=hobbes;securityMechanism=3
 TEST_DS (user=calvin;password=hobbes,securityMechanism=3) OK
 # jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=calvin;password=hobbes;securityMechanism=9
- EXCEPTION Security exception encountered, see next exception for details.
 TEST_DS (user=calvin;password=hobbes,securityMechanism=9)EXCEPTION testSecurityMechanism()
 Security exception encountered, see next exception for details.
-Test: jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=calvin - EXCEPTION
Connection authorization failure occurred.  Reason: security mechanism not supported
-TEST_DS(user=calvin)EXCEPTION getDataSourceConnection()  Connection authorization failure
occurred.  Reason: security mechanism not supported
-# jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=calvin;securityMechanism=4
- EXCEPTION Connection authorization failure occurred.  Reason: security mechanism not supported
-TEST_DS (user=calvin,securityMechanism=4)EXCEPTION testSecurityMechanism()  Connection authorization
failure occurred.  Reason: security mechanism not supported
-# jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=calvin;securityMechanism=3
- EXCEPTION null password not supported
-TEST_DS (user=calvin,securityMechanism=3)EXCEPTION testSecurityMechanism()  null password
not supported
-# jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=calvin;securityMechanism=9
- EXCEPTION null password not supported
-TEST_DS (user=calvin,securityMechanism=9)EXCEPTION testSecurityMechanism()  null password
not supported
+Test: jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=calvin - EXCEPTION
Connection authentication failure occurred.  Reason: security mechanism not supported.
+TEST_DS(user=calvin)EXCEPTION getDataSourceConnection()  Connection authentication failure
occurred.  Reason: security mechanism not supported.
+# jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=calvin;securityMechanism=4
- EXCEPTION Connection authentication failure occurred.  Reason: security mechanism not supported.
+TEST_DS (user=calvin,securityMechanism=4)EXCEPTION testSecurityMechanism()  Connection authentication
failure occurred.  Reason: security mechanism not supported.
+# jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=calvin;securityMechanism=3
- EXCEPTION Password can not be null.
+TEST_DS (user=calvin,securityMechanism=3)EXCEPTION testSecurityMechanism()  Password can
not be null.
+# jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=calvin;securityMechanism=9
- EXCEPTION Password can not be null.
+TEST_DS (user=calvin,securityMechanism=9)EXCEPTION testSecurityMechanism()  Password can
not be null.
 Test: jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;password=hobbes
 TEST_DS(password=hobbes) OK
-# jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;password=hobbes;securityMechanism=4
- EXCEPTION Connection authorization failure occurred.  Reason: security mechanism not supported
-TEST_DS (password=hobbes,securityMechanism=4)EXCEPTION testSecurityMechanism()  Connection
authorization failure occurred.  Reason: security mechanism not supported
+# jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;password=hobbes;securityMechanism=4
- EXCEPTION Connection authentication failure occurred.  Reason: security mechanism not supported.
+TEST_DS (password=hobbes,securityMechanism=4)EXCEPTION testSecurityMechanism()  Connection
authentication failure occurred.  Reason: security mechanism not supported.
 # jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;password=hobbes;securityMechanism=3
 TEST_DS (password=hobbes,securityMechanism=3) OK
 # jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;password=hobbes;securityMechanism=9
- EXCEPTION Security exception encountered, see next exception for details.
 TEST_DS (password=hobbes,securityMechanism=9)EXCEPTION testSecurityMechanism()  Security
exception encountered, see next exception for details.
-Test: jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat; - EXCEPTION Connection
authorization failure occurred.  Reason: security mechanism not supported
-TEST_DS()EXCEPTION getDataSourceConnection()  Connection authorization failure occurred.
 Reason: security mechanism not supported
-# jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;;securityMechanism=4 - EXCEPTION
Connection authorization failure occurred.  Reason: security mechanism not supported
-TEST_DS (,securityMechanism=4)EXCEPTION testSecurityMechanism()  Connection authorization
failure occurred.  Reason: security mechanism not supported
-# jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;;securityMechanism=3 - EXCEPTION
null password not supported
-TEST_DS (,securityMechanism=3)EXCEPTION testSecurityMechanism()  null password not supported
-# jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;;securityMechanism=9 - EXCEPTION
null password not supported
-TEST_DS (,securityMechanism=9)EXCEPTION testSecurityMechanism()  null password not supported
+Test: jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat; - EXCEPTION Connection
authentication failure occurred.  Reason: security mechanism not supported.
+TEST_DS()EXCEPTION getDataSourceConnection()  Connection authentication failure occurred.
 Reason: security mechanism not supported.
+# jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;;securityMechanism=4 - EXCEPTION
Connection authentication failure occurred.  Reason: security mechanism not supported.
+TEST_DS (,securityMechanism=4)EXCEPTION testSecurityMechanism()  Connection authentication
failure occurred.  Reason: security mechanism not supported.
+# jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;;securityMechanism=3 - EXCEPTION
Password can not be null.
+TEST_DS (,securityMechanism=3)EXCEPTION testSecurityMechanism()  Password can not be null.
+# jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;;securityMechanism=9 - EXCEPTION
Password can not be null.
+TEST_DS (,securityMechanism=9)EXCEPTION testSecurityMechanism()  Password can not be null.
 -----
 Testing with derby.drda.securityMechanism=ENCRYPTED_USER_AND_PASSWORD_SECURITY
 Checking security mechanism authentication with DriverManager
-T4: jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=neelima;password=lee;securityMechanism=3
- EXCEPTION Connection authorization failure occurred.  Reason: security mechanism not supported
-T1: jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat - EXCEPTION Connection
authorization failure occurred.  Reason: security mechanism not supported
-T2: jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=max - EXCEPTION Connection
authorization failure occurred.  Reason: security mechanism not supported
-T3: jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=neelima;password=lee
- EXCEPTION Connection authorization failure occurred.  Reason: security mechanism not supported
+T4: jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=neelima;password=lee;securityMechanism=3
- EXCEPTION Connection authentication failure occurred.  Reason: security mechanism not supported.
+T1: jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat - EXCEPTION Connection
authentication failure occurred.  Reason: security mechanism not supported.
+T2: jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=max - EXCEPTION Connection
authentication failure occurred.  Reason: security mechanism not supported.
+T3: jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=neelima;password=lee
- EXCEPTION Connection authentication failure occurred.  Reason: security mechanism not supported.
 T5: jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=neelima;password=lee;securityMechanism=9
- EXCEPTION Security exception encountered, see next exception for details.
-T6: jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=neelima;securityMechanism=4
- EXCEPTION Connection authorization failure occurred.  Reason: security mechanism not supported
-T8: jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=neelima;password=lee;securityMechanism=4
- EXCEPTION Connection authorization failure occurred.  Reason: security mechanism not supported
-SECMEC_USRIDPWD:EXCEPTION testSecurityMechanism()  Connection authorization failure occurred.
 Reason: security mechanism not supported
+T6: jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=neelima;securityMechanism=4
- EXCEPTION Connection authentication failure occurred.  Reason: security mechanism not supported.
+T8: jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=neelima;password=lee;securityMechanism=4
- EXCEPTION Connection authentication failure occurred.  Reason: security mechanism not supported.
+SECMEC_USRIDPWD:EXCEPTION testSecurityMechanism()  Connection authentication failure occurred.
 Reason: security mechanism not supported.
 SECMEC_EUSRIDPWD:EXCEPTION testSecurityMechanism()  Security exception encountered, see next
exception for details.
 Test DERBY-1080
 withConnectionPooling
 DERBY-1080  EXCEPTION ()  Security exception encountered, see next exception for details.
 ******testAllCombinationsOfUserPasswordsSecMecInput***
-Test: jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=calvin;password=hobbes
- EXCEPTION Connection authorization failure occurred.  Reason: security mechanism not supported
-TEST_DS(user=calvin;password=hobbes)EXCEPTION getDataSourceConnection()  Connection authorization
failure occurred.  Reason: security mechanism not supported
-# jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=calvin;password=hobbes;securityMechanism=4
- EXCEPTION Connection authorization failure occurred.  Reason: security mechanism not supported
-TEST_DS (user=calvin;password=hobbes,securityMechanism=4)EXCEPTION testSecurityMechanism()
 Connection authorization failure occurred.  Reason: security mechanism not supported
-# jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=calvin;password=hobbes;securityMechanism=3
- EXCEPTION Connection authorization failure occurred.  Reason: security mechanism not supported
-TEST_DS (user=calvin;password=hobbes,securityMechanism=3)EXCEPTION testSecurityMechanism()
 Connection authorization failure occurred.  Reason: security mechanism not supported
+Test: jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=calvin;password=hobbes
- EXCEPTION Connection authentication failure occurred.  Reason: security mechanism not supported.
+TEST_DS(user=calvin;password=hobbes)EXCEPTION getDataSourceConnection()  Connection authentication
failure occurred.  Reason: security mechanism not supported.
+# jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=calvin;password=hobbes;securityMechanism=4
- EXCEPTION Connection authentication failure occurred.  Reason: security mechanism not supported.
+TEST_DS (user=calvin;password=hobbes,securityMechanism=4)EXCEPTION testSecurityMechanism()
 Connection authentication failure occurred.  Reason: security mechanism not supported.
+# jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=calvin;password=hobbes;securityMechanism=3
- EXCEPTION Connection authentication failure occurred.  Reason: security mechanism not supported.
+TEST_DS (user=calvin;password=hobbes,securityMechanism=3)EXCEPTION testSecurityMechanism()
 Connection authentication failure occurred.  Reason: security mechanism not supported.
 # jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=calvin;password=hobbes;securityMechanism=9
- EXCEPTION Security exception encountered, see next exception for details.
 TEST_DS (user=calvin;password=hobbes,securityMechanism=9)EXCEPTION testSecurityMechanism()
 Security exception encountered, see next exception for details.
-Test: jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=calvin - EXCEPTION
Connection authorization failure occurred.  Reason: security mechanism not supported
-TEST_DS(user=calvin)EXCEPTION getDataSourceConnection()  Connection authorization failure
occurred.  Reason: security mechanism not supported
-# jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=calvin;securityMechanism=4
- EXCEPTION Connection authorization failure occurred.  Reason: security mechanism not supported
-TEST_DS (user=calvin,securityMechanism=4)EXCEPTION testSecurityMechanism()  Connection authorization
failure occurred.  Reason: security mechanism not supported
-# jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=calvin;securityMechanism=3
- EXCEPTION null password not supported
-TEST_DS (user=calvin,securityMechanism=3)EXCEPTION testSecurityMechanism()  null password
not supported
-# jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=calvin;securityMechanism=9
- EXCEPTION null password not supported
-TEST_DS (user=calvin,securityMechanism=9)EXCEPTION testSecurityMechanism()  null password
not supported
-Test: jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;password=hobbes - EXCEPTION
Connection authorization failure occurred.  Reason: security mechanism not supported
-TEST_DS(password=hobbes)EXCEPTION getDataSourceConnection()  Connection authorization failure
occurred.  Reason: security mechanism not supported
-# jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;password=hobbes;securityMechanism=4
- EXCEPTION Connection authorization failure occurred.  Reason: security mechanism not supported
-TEST_DS (password=hobbes,securityMechanism=4)EXCEPTION testSecurityMechanism()  Connection
authorization failure occurred.  Reason: security mechanism not supported
-# jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;password=hobbes;securityMechanism=3
- EXCEPTION Connection authorization failure occurred.  Reason: security mechanism not supported
-TEST_DS (password=hobbes,securityMechanism=3)EXCEPTION testSecurityMechanism()  Connection
authorization failure occurred.  Reason: security mechanism not supported
+Test: jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=calvin - EXCEPTION
Connection authentication failure occurred.  Reason: security mechanism not supported.
+TEST_DS(user=calvin)EXCEPTION getDataSourceConnection()  Connection authentication failure
occurred.  Reason: security mechanism not supported.
+# jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=calvin;securityMechanism=4
- EXCEPTION Connection authentication failure occurred.  Reason: security mechanism not supported.
+TEST_DS (user=calvin,securityMechanism=4)EXCEPTION testSecurityMechanism()  Connection authentication
failure occurred.  Reason: security mechanism not supported.
+# jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=calvin;securityMechanism=3
- EXCEPTION Password can not be null.
+TEST_DS (user=calvin,securityMechanism=3)EXCEPTION testSecurityMechanism()  Password can
not be null.
+# jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=calvin;securityMechanism=9
- EXCEPTION Password can not be null.
+TEST_DS (user=calvin,securityMechanism=9)EXCEPTION testSecurityMechanism()  Password can
not be null.
+Test: jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;password=hobbes - EXCEPTION
Connection authentication failure occurred.  Reason: security mechanism not supported.
+TEST_DS(password=hobbes)EXCEPTION getDataSourceConnection()  Connection authentication failure
occurred.  Reason: security mechanism not supported.
+# jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;password=hobbes;securityMechanism=4
- EXCEPTION Connection authentication failure occurred.  Reason: security mechanism not supported.
+TEST_DS (password=hobbes,securityMechanism=4)EXCEPTION testSecurityMechanism()  Connection
authentication failure occurred.  Reason: security mechanism not supported.
+# jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;password=hobbes;securityMechanism=3
- EXCEPTION Connection authentication failure occurred.  Reason: security mechanism not supported.
+TEST_DS (password=hobbes,securityMechanism=3)EXCEPTION testSecurityMechanism()  Connection
authentication failure occurred.  Reason: security mechanism not supported.
 # jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;password=hobbes;securityMechanism=9
- EXCEPTION Security exception encountered, see next exception for details.
 TEST_DS (password=hobbes,securityMechanism=9)EXCEPTION testSecurityMechanism()  Security
exception encountered, see next exception for details.
-Test: jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat; - EXCEPTION Connection
authorization failure occurred.  Reason: security mechanism not supported
-TEST_DS()EXCEPTION getDataSourceConnection()  Connection authorization failure occurred.
 Reason: security mechanism not supported
-# jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;;securityMechanism=4 - EXCEPTION
Connection authorization failure occurred.  Reason: security mechanism not supported
-TEST_DS (,securityMechanism=4)EXCEPTION testSecurityMechanism()  Connection authorization
failure occurred.  Reason: security mechanism not supported
-# jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;;securityMechanism=3 - EXCEPTION
null password not supported
-TEST_DS (,securityMechanism=3)EXCEPTION testSecurityMechanism()  null password not supported
-# jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;;securityMechanism=9 - EXCEPTION
null password not supported
-TEST_DS (,securityMechanism=9)EXCEPTION testSecurityMechanism()  null password not supported
+Test: jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat; - EXCEPTION Connection
authentication failure occurred.  Reason: security mechanism not supported.
+TEST_DS()EXCEPTION getDataSourceConnection()  Connection authentication failure occurred.
 Reason: security mechanism not supported.
+# jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;;securityMechanism=4 - EXCEPTION
Connection authentication failure occurred.  Reason: security mechanism not supported.
+TEST_DS (,securityMechanism=4)EXCEPTION testSecurityMechanism()  Connection authentication
failure occurred.  Reason: security mechanism not supported.
+# jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;;securityMechanism=3 - EXCEPTION
Password can not be null.
+TEST_DS (,securityMechanism=3)EXCEPTION testSecurityMechanism()  Password can not be null.
+# jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;;securityMechanism=9 - EXCEPTION
Password can not be null.
+TEST_DS (,securityMechanism=9)EXCEPTION testSecurityMechanism()  Password can not be null.
 -----
 Testing with derby.drda.securityMechanism=INVALID_VALUE
 EXPECTED EXCEPTION DRDA_InvalidValue.U:Invalid value, INVALID_VALUE, for derby.drda.securityMechanism.

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/DerbyNetClient/testij.out
URL: http://svn.apache.org/viewcvs/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/DerbyNetClient/testij.out?rev=399078&r1=399077&r2=399078&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/DerbyNetClient/testij.out
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/DerbyNetClient/testij.out
Tue May  2 16:10:44 2006
@@ -24,9 +24,9 @@
 connect 'jdbc:derby://xxxFILTERED_HOSTNAMExxx:1527/wombat;create=true;user=judy;password=judy';
 ij(CONNECTION1)> connect 'jdbc:derby://xxxFILTERED_HOSTNAMExxx:1527/./wombat;user=judy;password=judy';
 ij(CONNECTION2)> connect 'jdbc:derby://xxxFILTERED_HOSTNAMExxx:1527/toursDB';
-ERROR 08004: The application server rejected establishment of the connection.  An attempt
was made to access a database, toursDB, which was not found.
+ERROR 08004: The connection was refused because the database toursDB was not found.
 ij(CONNECTION2)> connect 'jdbc:derby://xxxFILTERED_HOSTNAMExxx:1527/toursDB' USER 'dbadmin'
PASSWORD 'dbadbmin';
-ERROR 08004: The application server rejected establishment of the connection.  An attempt
was made to access a database, toursDB, which was not found.
+ERROR 08004: The connection was refused because the database toursDB was not found.
 ij(CONNECTION2)> connect 'jdbc:derby://xxxFILTERED_HOSTNAMExxx:1527/wombat' USER 'APP'
PASSWORD 'APP';
 ij(CONNECTION3)> connect  'jdbc:derby://xxxFILTERED_HOSTNAMExxx:1527/my-db-name;create=true;user=usr;password=pwd';
 ij(CONNECTION4)> connect 'jdbc:derby://xxxFILTERED_HOSTNAMExxx:1527/my-db-name;upgrade=true;user=usr;password=pwd';
@@ -35,7 +35,7 @@
 ij(CONNECTION5)> connect 'jdbc:derby://xxxFILTERED_HOSTNAMExxx:1527/./my-dbname;create=true;user=usr;password=pwd';
 ij(CONNECTION6)> connect 'jdbc:derby://xxxFILTERED_HOSTNAMExxx:1527/./my-dbname;create=true;user=usr;password=pwd';
 ij(CONNECTION7)> connect 'jdbc:derby://xxxFILTERED_HOSTNAMExxx:1527/toursDB' USER 'dbadmin'
PASSWORD 'dbadbmin';
-ERROR 08004: The application server rejected establishment of the connection.  An attempt
was made to access a database, toursDB, which was not found.
+ERROR 08004: The connection was refused because the database toursDB was not found.
 ij(CONNECTION7)> connect 'jdbc:derby://xxxFILTERED_HOSTNAMExxx:1527/wombat' USER 'APP'
PASSWORD 'APP';
 ij(CONNECTION8)> connect  'jdbc:derby://xxxFILTERED_HOSTNAMExxx:1527/my-db-name;create=true;user=usr;password=pwd';
 ij(CONNECTION9)> connect 'jdbc:derby://xxxFILTERED_HOSTNAMExxx:1527/my-db-name;upgrade=true;user=usr;password=pwd';

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/DerbyNetClient/users.out
URL: http://svn.apache.org/viewcvs/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/DerbyNetClient/users.out?rev=399078&r1=399077&r2=399078&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/DerbyNetClient/users.out
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/DerbyNetClient/users.out
Tue May  2 16:10:44 2006
@@ -97,17 +97,17 @@
 -----
 ----- Invalid login's
 connect 'wombat';
-ERROR (no SQLState): Connection authorization failure occurred.  Reason: userid invalid.
+ERROR 08004: Connection authentication failure occurred.  Reason: userid or password invalid.
 ij> connect 'wombat;user=badUser1;password=YeeHa!';
-ERROR (no SQLState): Connection authorization failure occurred.  Reason: userid invalid.
+ERROR 08004: Connection authentication failure occurred.  Reason: userid or password invalid.
 ij> connect 'wombat;user=badUser2;password=YeeHa!';
-ERROR (no SQLState): Connection authorization failure occurred.  Reason: userid invalid.
+ERROR 08004: Connection authentication failure occurred.  Reason: userid or password invalid.
 ij> connect 'myDB;user=dan;password=MakeItSlower';
-ERROR (no SQLState): Connection authorization failure occurred.  Reason: userid invalid.
+ERROR 08004: Connection authentication failure occurred.  Reason: userid or password invalid.
 ij> connect 'myDB;user=jamie;password=LetMeIn';
-ERROR (no SQLState): Connection authorization failure occurred.  Reason: userid invalid.
+ERROR 08004: Connection authentication failure occurred.  Reason: userid or password invalid.
 ij> connect 'wombat;user=francois;password=Corsica';
-ERROR (no SQLState): Connection authorization failure occurred.  Reason: userid invalid.
+ERROR 08004: Connection authentication failure occurred.  Reason: userid or password invalid.
 ij> -- Invalid database users
 connect 'myDB;user=howardR;password=IamBetterAtTennis';
 ERROR 04501: DERBY SQL error: SQLCODE: -1, SQLSTATE: 04501, SQLERRMC: Database connection
refused.
@@ -121,9 +121,9 @@
 ij> connect 'myDB;user=jerry;password=SacreBleu';
 ij(CONNECTION1)> -- Database shutdown - check user - should fail
 connect 'myDB;shutdown=true';
-ERROR (no SQLState): Connection authorization failure occurred.  Reason: userid invalid.
+ERROR 08004: Connection authentication failure occurred.  Reason: userid or password invalid.
 ij(CONNECTION1)> connect 'myDB;user=jamie;password=LetMeIn;shutdown=true';
-ERROR (no SQLState): Connection authorization failure occurred.  Reason: userid invalid.
+ERROR 08004: Connection authentication failure occurred.  Reason: userid or password invalid.
 ij(CONNECTION1)> connect 'wombat;user=jerry;password=SacreBleu;shutdown=true';
 ERROR 04501: DERBY SQL error: SQLCODE: -1, SQLSTATE: 04501, SQLERRMC: Database connection
refused.
 ij(CONNECTION1)> show connections;
@@ -142,7 +142,7 @@
 * = current connection
 ij(CONNECTION1)> -- JBMS System shutdown - check user - should fail
 connect ';user=jamie;password=LetMeIn;shutdown=true';
-ERROR (no SQLState): Connection authorization failure occurred.  Reason: userid invalid.
+ERROR 08004: Connection authentication failure occurred.  Reason: userid or password invalid.
 ij(CONNECTION1)> disconnect all;
 ij> -- JBMS System shutdown - check user - should succeed
 connect ';user=francois;password=paceesalute;shutdown=true';

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/DerbyNetClient/users2.out
URL: http://svn.apache.org/viewcvs/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/DerbyNetClient/users2.out?rev=399078&r1=399077&r2=399078&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/DerbyNetClient/users2.out
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/DerbyNetClient/users2.out
Tue May  2 16:10:44 2006
@@ -183,22 +183,22 @@
 -----
 ----- Invalid login's
 connect 'wombat';
-ERROR (no SQLState): Connection authorization failure occurred.  Reason: userid invalid.
+ERROR 08004: Connection authentication failure occurred.  Reason: userid or password invalid.
 ij> connect 'wombat;user=badUser1;password=YeeHa!';
-ERROR (no SQLState): Connection authorization failure occurred.  Reason: userid invalid.
+ERROR 08004: Connection authentication failure occurred.  Reason: userid or password invalid.
 ij> connect 'wombat;user=badUser2;password=YeeHa!';
-ERROR (no SQLState): Connection authorization failure occurred.  Reason: userid invalid.
+ERROR 08004: Connection authentication failure occurred.  Reason: userid or password invalid.
 ij> connect 'myDB;user=dan;password=MakeItSlower';
-ERROR (no SQLState): Connection authorization failure occurred.  Reason: userid invalid.
+ERROR 08004: Connection authentication failure occurred.  Reason: userid or password invalid.
 ij> connect 'myDB;user=jamie;password=LetMeIn';
-ERROR (no SQLState): Connection authorization failure occurred.  Reason: userid invalid.
+ERROR 08004: Connection authentication failure occurred.  Reason: userid or password invalid.
 ij> connect 'wombat;user=francois;password=Corsica';
-ERROR (no SQLState): Connection authorization failure occurred.  Reason: userid invalid.
+ERROR 08004: Connection authentication failure occurred.  Reason: userid or password invalid.
 ij> -- Invalid database users
 connect 'myDB;user=howardR;password=IamBetterAtTennis';
-ERROR (no SQLState): Connection authorization failure occurred.  Reason: userid invalid.
+ERROR 08004: Connection authentication failure occurred.  Reason: userid or password invalid.
 ij> connect 'wombat;user=jerry;password=SacreBleu';
-ERROR (no SQLState): Connection authorization failure occurred.  Reason: userid invalid.
+ERROR 08004: Connection authentication failure occurred.  Reason: userid or password invalid.
 ij> connect 'wombat;user=jamie;password=MrNamePlates';
 ij> show connections;
 CONNECTION0* - 	jdbc:derby://xxxFILTERED_HOSTNAMExxx:1527/wombat
@@ -207,11 +207,11 @@
 ij(CONNECTION1)> connect 'myDB;user=jerry;password=SacreBleu';
 ij(CONNECTION2)> -- Database shutdown - check user - should fail
 connect 'myDB;shutdown=true';
-ERROR (no SQLState): Connection authorization failure occurred.  Reason: userid invalid.
+ERROR 08004: Connection authentication failure occurred.  Reason: userid or password invalid.
 ij(CONNECTION2)> connect 'myDB;user=jamie;password=LetMeIn;shutdown=true';
-ERROR (no SQLState): Connection authorization failure occurred.  Reason: userid invalid.
+ERROR 08004: Connection authentication failure occurred.  Reason: userid or password invalid.
 ij(CONNECTION2)> connect 'wombat;user=jerry;password=SacreBleu;shutdown=true';
-ERROR (no SQLState): Connection authorization failure occurred.  Reason: userid invalid.
+ERROR 08004: Connection authentication failure occurred.  Reason: userid or password invalid.
 ij(CONNECTION2)> show connections;
 CONNECTION0 - 	jdbc:derby://xxxFILTERED_HOSTNAMExxx:1527/wombat
 CONNECTION1 - 	jdbc:derby://xxxFILTERED_HOSTNAMExxx:1527/wombat
@@ -234,7 +234,7 @@
 No connections available.
 ij> -- JBMS System shutdown - check user - should fail
 connect ';user=jamie;password=LetMeIn;shutdown=true';
-ERROR (no SQLState): Connection authorization failure occurred.  Reason: userid invalid.
+ERROR 08004: Connection authentication failure occurred.  Reason: userid or password invalid.
 ij> -- JBMS System shutdown - check user - should succeed
 connect ';user=system;password=manager;shutdown=true';
 ERROR XJ015: DERBY SQL error: SQLCODE: -1, SQLSTATE: XJ015, SQLERRMC: Derby system shutdown.

Modified: db/derby/code/trunk/tools/java/javacc.jar
URL: http://svn.apache.org/viewcvs/db/derby/code/trunk/tools/java/javacc.jar?rev=399078&r1=399077&r2=399078&view=diff
==============================================================================
Binary files - no diff available.

Modified: db/derby/code/trunk/tools/testing/i18nTestGenerator/clientPrologue.txt
URL: http://svn.apache.org/viewcvs/db/derby/code/trunk/tools/testing/i18nTestGenerator/clientPrologue.txt?rev=399078&r1=399077&r2=399078&view=diff
==============================================================================
--- db/derby/code/trunk/tools/testing/i18nTestGenerator/clientPrologue.txt (original)
+++ db/derby/code/trunk/tools/testing/i18nTestGenerator/clientPrologue.txt Tue May  2 16:10:44
2006
@@ -1,9 +1,11 @@
 package org.apache.derbyTesting.functionTests.tests.i18n; 
 
-import org.apache.derby.client.am.MessageId; 
+import org.apache.derby.client.am.ClientMessageId; 
 import org.apache.derby.client.am.SqlException; 
 import org.apache.derby.shared.common.reference.SQLState; 
 import org.apache.derby.client.am.SqlCode;
+import org.apache.derby.shared.common.i18n.MessageUtil;
+import org.apache.derby.shared.common.reference.MessageId;
 
 /** 
  * This class is a GENERATED FILE that tests as many of the messages 
@@ -14,6 +16,10 @@
 public class TestClientMessages { 
   private static Exception testException; 
   private static String feature = "testFeature";
+  private static MessageUtil msgutil = new MessageUtil(
+    SqlException.CLIENT_MESSAGE_RESOURCE_NAME);
+  private static MessageUtil msgutil_ = new MessageUtil(
+    SqlException.CLIENT_MESSAGE_RESOURCE_NAME);
 
   public static void main(String[] args) { 
 

Modified: db/derby/code/trunk/tools/testing/i18nTestGenerator/genClient1.sed
URL: http://svn.apache.org/viewcvs/db/derby/code/trunk/tools/testing/i18nTestGenerator/genClient1.sed?rev=399078&r1=399077&r2=399078&view=diff
==============================================================================
--- db/derby/code/trunk/tools/testing/i18nTestGenerator/genClient1.sed (original)
+++ db/derby/code/trunk/tools/testing/i18nTestGenerator/genClient1.sed Tue May  2 16:10:44
2006
@@ -1,8 +1,8 @@
-# Print out anything that creates a MessageId, this is a situation
+# Print out anything that creates a ClientMessageId, this is a situation
 # where message translation is likely happening
 #
 # Print out a label in a comment to assist further activity
-/new MessageId.*);/p
-# Catch situation where the MessageId parameter is on the next line
-/new MessageId[^;]*$/,/);/p
+/new ClientMessageId.*);/p
+# Catch situation where the ClientMessageId parameter is on the next line
+/new ClientMessageId[^;]*$/,/);/p
 

Modified: db/derby/code/trunk/tools/testing/i18nTestGenerator/genClient2.sed
URL: http://svn.apache.org/viewcvs/db/derby/code/trunk/tools/testing/i18nTestGenerator/genClient2.sed?rev=399078&r1=399077&r2=399078&view=diff
==============================================================================
--- db/derby/code/trunk/tools/testing/i18nTestGenerator/genClient2.sed (original)
+++ db/derby/code/trunk/tools/testing/i18nTestGenerator/genClient2.sed Tue May  2 16:10:44
2006
@@ -1,6 +1,6 @@
-# For those expressions that start with "new MessageId", pre-append
+# For those expressions that start with "new ClientMessageId", pre-append
 # a try block and create a SqlException to complete the expression
-/^[[:space:]]*new MessageId/i\
+/^[[:space:]]*new ClientMessageId/i\
     try { \
        testException = new SqlException(null,
 
@@ -66,6 +66,20 @@
 s/[[:space:]]jdbcStatementInterfaceName/ "jdbcInterfaceName"/g
 s/[[:space:]]name)/ "name")/g
 s/[[:space:]]sql)/ "sql")/g
+s/cause.getMessage()/testException.getMessage()/g
+s/cause));/testException);/g
+s/netConnection.databaseName_));/"netcondbname");/g
+s/value));/"value");/g
+s/GGRP"));/GGRP");/g
+s/[[:space:]]e));/ testException);/g
+s/[[:space:]]server/ "server"/
+s/codpnt/"codpnt"/g
+s/[[:space:]]codePoint/ "codePoint"/g
+s/conversationProtocolErrorCode/"conerr"/g
+s/[[:space:]]rdbnam/ "rdbnam"/g
+s/[[:space:]]manager/ "manager"/g
+s/[[:space:]]level));/ "level");/g
+s/[[:space:]]operation/ "operation"/g
 
 # 
 # Deal with extra updateCounts argument to BatchUpdateExceptoins.
@@ -80,6 +94,7 @@
 #
 s/new Long[[:space:]]*([^)]*/new Long(0/g
 s/new Integer[[:space:]]*([^)]*/new Integer(0/g
+s/Integer.toHexString[[:space:]]*([^)]*/Integer.toHexString(0/g
 
 # Get rid of logWriter
 s/new SqlException[[:space:]]*(.*,/new SqlException(null,/g



Mime
View raw message