| org.apache.james.userrepository.UsersFileRepository
UsersFileRepository | public class UsersFileRepository extends AbstractLogEnabled implements UsersRepository,Configurable,Serviceable,Initializable(Code) | | Implementation of a Repository to store users on the File System.
Requires a configuration element in the .conf.xml file of the form:
<repository destinationURL="file://path-to-root-dir-for-repository"
type="USERS"
model="SYNCHRONOUS"/>
Requires a logger called UsersRepository.
version: CVS $Revision: 494012 $ |
Field Summary | |
protected static boolean | DEEP_DEBUG Whether 'deep debugging' is turned on. |
DEEP_DEBUG | protected static boolean DEEP_DEBUG(Code) | | Whether 'deep debugging' is turned on.
|
addUser | public synchronized boolean addUser(User user)(Code) | | Update the repository with the specified user object. A user object
with this username must already exist.
Parameters: user - the user to be added. true if successful. |
configure | public void configure(Configuration configuration) throws ConfigurationException(Code) | | See Also: org.apache.avalon.framework.configuration.Configurable.configure(Configuration) |
containsCaseInsensitive | public boolean containsCaseInsensitive(String name)(Code) | | |
countUsers | public int countUsers()(Code) | | |
getUserByNameCaseInsensitive | public User getUserByNameCaseInsensitive(String name)(Code) | | |
initialize | public void initialize() throws Exception(Code) | | See Also: org.apache.avalon.framework.activity.Initializable.initialize |
list | public Iterator list()(Code) | | List users in repository.
Iterator over a collection of Strings, each being one user in the repository. |
removeUser | public synchronized void removeUser(String name)(Code) | | |
service | public void service(ServiceManager componentManager) throws ServiceException(Code) | | See Also: org.apache.avalon.framework.service.Serviceable.service(ServiceManager) |
updateUser | public boolean updateUser(User user)(Code) | | |
|
|