Commit 247749ad authored by Matt Tucker's avatar Matt Tucker Committed by matt

Provide public access to the current user provider (JM-221).


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@1180 b35dd754-fafc-0310-a699-88a17e54d16e
parent bd5077fa
......@@ -53,14 +53,21 @@ public class UserManager {
}
/**
* Returns the currently-installed UserProvider.
* Returns the currently-installed UserProvider. Note, in most cases the user
* provider should not be used directly. Instead, the appropriate methods
* in UserManager should be called.
*
* @return the current UserProvider.
*/
static UserProvider getUserProvider() {
public static UserProvider getUserProvider() {
return provider;
}
/**
* Returns a singleton UserManager instance.
*
* @return a UserManager instance.
*/
public static UserManager getInstance() {
return instance;
}
......
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