Allow a UserManager to be instantiated by name and then initialized.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1960 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -84,8 +84,8 @@ public class UserManager
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructs a user manager and prepares it for operation. Presently
|
* Prepares this user manager it for operation. Presently the user manager
|
||||||
* the user manager requires the following configuration information:
|
* requires the following configuration information:
|
||||||
*
|
*
|
||||||
* <ul>
|
* <ul>
|
||||||
* <li><code>login_url</code>: Should be set to the URL to which to
|
* <li><code>login_url</code>: Should be set to the URL to which to
|
||||||
@@ -106,7 +106,7 @@ public class UserManager
|
|||||||
* @param conprov the database connection provider that will be used
|
* @param conprov the database connection provider that will be used
|
||||||
* to obtain a connection to the user database.
|
* to obtain a connection to the user database.
|
||||||
*/
|
*/
|
||||||
public UserManager (Properties config, ConnectionProvider conprov)
|
public void init (Properties config, ConnectionProvider conprov)
|
||||||
throws PersistenceException
|
throws PersistenceException
|
||||||
{
|
{
|
||||||
// save this for later
|
// save this for later
|
||||||
|
|||||||
Reference in New Issue
Block a user