Commit 0014835c authored by Matt Tucker's avatar Matt Tucker Committed by matt

Final JDBC provider work.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@4265 b35dd754-fafc-0310-a699-88a17e54d16e
parent 87d696fc
This diff is collapsed.
...@@ -42,6 +42,10 @@ messaging (IM) services using the XMPP protocol. ...@@ -42,6 +42,10 @@ messaging (IM) services using the XMPP protocol.
<a href="ldap-guide.html">LDAP Guide</a> - <a href="ldap-guide.html">LDAP Guide</a> -
A guide to setting up Wildfire to work with LDAP user stores. A guide to setting up Wildfire to work with LDAP user stores.
</li> </li>
<li>
<a href="db-integration-guide.html">Custom Database Integration Guide</a> -
A guide to integrating Wildfire authentication, user, and group data with a custom database.
</li>
</ul> </ul>
<p><b>Developer Documentation:</b></p> <p><b>Developer Documentation:</b></p>
......
...@@ -47,10 +47,10 @@ import java.util.Date; ...@@ -47,10 +47,10 @@ import java.util.Date;
* &lt;/jdbcProvider&gt; * &lt;/jdbcProvider&gt;
* *
* &lt;jdbcUserProvider&gt; * &lt;jdbcUserProvider&gt;
* &lt;loadUser&gt;SELECT name,email FROM myUser WHERE user = ?&lt;/loadUser&gt; * &lt;loadUserSQL&gt;SELECT name,email FROM myUser WHERE user = ?&lt;/loadUserSQL&gt;
* &lt;userCount&gt;SELECT COUNT(*) FROM myUser&lt;/usercount&gt; * &lt;userCountSQL&gt;SELECT COUNT(*) FROM myUser&lt;/userCountSQL&gt;
* &lt;allUsers&gt;SELECT user FROM myUser&lt;/allUsers&gt; * &lt;allUsersSQL&gt;SELECT user FROM myUser&lt;/allUsersSQL&gt;
* &lt;search&gt;SELECT user FROM myUser WHERE&lt;/search&gt; * &lt;searchSQL&gt;SELECT user FROM myUser WHERE&lt;/searchSQL&gt;
* &lt;usernameField&gt;myUsernameField&lt;/usernameField&gt; * &lt;usernameField&gt;myUsernameField&lt;/usernameField&gt;
* &lt;nameField&gt;myNameField&lt;/nameField&gt; * &lt;nameField&gt;myNameField&lt;/nameField&gt;
* &lt;emailField&gt;mymailField&lt;/emailField&gt; * &lt;emailField&gt;mymailField&lt;/emailField&gt;
...@@ -87,10 +87,10 @@ public class JDBCUserProvider implements UserProvider { ...@@ -87,10 +87,10 @@ public class JDBCUserProvider implements UserProvider {
connectionString = JiveGlobals.getXMLProperty("jdbcProvider.jdbcConnString"); connectionString = JiveGlobals.getXMLProperty("jdbcProvider.jdbcConnString");
// Load database statements for user data. // Load database statements for user data.
loadUserSQL = JiveGlobals.getXMLProperty("jdbcUserProvider.loadUser"); loadUserSQL = JiveGlobals.getXMLProperty("jdbcUserProvider.loadUserSQL");
userCountSQL = JiveGlobals.getXMLProperty("jdbcUserProvider.userCount"); userCountSQL = JiveGlobals.getXMLProperty("jdbcUserProvider.userCountSQL");
allUsersSQL = JiveGlobals.getXMLProperty("jdbcUserProvider.allUsers"); allUsersSQL = JiveGlobals.getXMLProperty("jdbcUserProvider.allUsersSQL");
searchSQL = JiveGlobals.getXMLProperty("jdbcUserProvider.search"); searchSQL = JiveGlobals.getXMLProperty("jdbcUserProvider.searchSQL");
usernameField = JiveGlobals.getXMLProperty("jdbcUserProvider.usernameField"); usernameField = JiveGlobals.getXMLProperty("jdbcUserProvider.usernameField");
nameField = JiveGlobals.getXMLProperty("jdbcUserProvider.nameField"); nameField = JiveGlobals.getXMLProperty("jdbcUserProvider.nameField");
emailField = JiveGlobals.getXMLProperty("jdbcUserProvider.emailField"); emailField = JiveGlobals.getXMLProperty("jdbcUserProvider.emailField");
......
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