Made UserRepository instance available via getter method.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@77 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: UserManager.java,v 1.3 2001/03/02 02:45:48 mdb Exp $
|
||||
// $Id: UserManager.java,v 1.4 2001/03/02 07:35:39 mdb Exp $
|
||||
|
||||
package com.samskivert.servlet.user;
|
||||
|
||||
@@ -84,6 +84,14 @@ public class UserManager
|
||||
IntervalManager.remove(_prunerid);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a reference to the repository in use by this user manager.
|
||||
*/
|
||||
public UserRepository getRepository ()
|
||||
{
|
||||
return _repository;
|
||||
}
|
||||
|
||||
/**
|
||||
* Fetches the necessary authentication information from the http
|
||||
* request and loads the user identified by that information.
|
||||
|
||||
Reference in New Issue
Block a user