Commit 0a104fa2 authored by Matt Tucker's avatar Matt Tucker Committed by matt

Auth provider and user provider were using wrong property name (JM-786).

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@4608 b35dd754-fafc-0310-a699-88a17e54d16e
parent d7a2a77f
...@@ -72,7 +72,7 @@ public class JDBCAuthProvider implements AuthProvider { ...@@ -72,7 +72,7 @@ public class JDBCAuthProvider implements AuthProvider {
*/ */
public JDBCAuthProvider() { public JDBCAuthProvider() {
// Load the JDBC driver and connection string. // Load the JDBC driver and connection string.
String jdbcDriver = JiveGlobals.getXMLProperty("jdbcProvider.jdbcDriver.className"); String jdbcDriver = JiveGlobals.getXMLProperty("jdbcProvider.driver");
try { try {
Class.forName(jdbcDriver).newInstance(); Class.forName(jdbcDriver).newInstance();
} }
...@@ -80,7 +80,7 @@ public class JDBCAuthProvider implements AuthProvider { ...@@ -80,7 +80,7 @@ public class JDBCAuthProvider implements AuthProvider {
Log.error("Unable to load JDBC driver: " + jdbcDriver, e); Log.error("Unable to load JDBC driver: " + jdbcDriver, e);
return; return;
} }
connectionString = JiveGlobals.getXMLProperty("jdbcProvider.jdbcConnString"); connectionString = JiveGlobals.getXMLProperty("jdbcProvider.connectionString");
// Load SQL statements. // Load SQL statements.
passwordSQL = JiveGlobals.getXMLProperty("jdbcAuthProvider.passwordSQL"); passwordSQL = JiveGlobals.getXMLProperty("jdbcAuthProvider.passwordSQL");
......
...@@ -76,7 +76,7 @@ public class JDBCUserProvider implements UserProvider { ...@@ -76,7 +76,7 @@ public class JDBCUserProvider implements UserProvider {
*/ */
public JDBCUserProvider() { public JDBCUserProvider() {
// Load the JDBC driver and connection string. // Load the JDBC driver and connection string.
String jdbcDriver = JiveGlobals.getXMLProperty("jdbcProvider.jdbcDriver.className"); String jdbcDriver = JiveGlobals.getXMLProperty("jdbcProvider.driver");
try { try {
Class.forName(jdbcDriver).newInstance(); Class.forName(jdbcDriver).newInstance();
} }
...@@ -84,7 +84,7 @@ public class JDBCUserProvider implements UserProvider { ...@@ -84,7 +84,7 @@ public class JDBCUserProvider implements UserProvider {
Log.error("Unable to load JDBC driver: " + jdbcDriver, e); Log.error("Unable to load JDBC driver: " + jdbcDriver, e);
return; return;
} }
connectionString = JiveGlobals.getXMLProperty("jdbcProvider.jdbcConnString"); connectionString = JiveGlobals.getXMLProperty("jdbcProvider.connectionString");
// Load database statements for user data. // Load database statements for user data.
loadUserSQL = JiveGlobals.getXMLProperty("jdbcUserProvider.loadUserSQL"); loadUserSQL = JiveGlobals.getXMLProperty("jdbcUserProvider.loadUserSQL");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment