org.mailster.pop3.mailbox
Class UserManager
java.lang.Object
org.mailster.pop3.mailbox.UserManager
public class UserManager
- extends java.lang.Object
---
Mailster (C) 2007-2009 De Oliveira Edouard
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later
version.
This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
details.
You should have received a copy of the GNU General Public License along with
this program; if not, write to the Free Software Foundation, Inc., 675 Mass
Ave, Cambridge, MA 02139, USA.
See Mailster
Web Site
---
UserManager.java - Manages the POP3 users.
- Version:
- $Revision: 1.5 $, $Date: 2009/02/03 00:30:18 $
- Author:
- Edouard De Oliveira
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_PASSWORD
public static final java.lang.String DEFAULT_PASSWORD
- See Also:
- Constant Field Values
defaultPassword
private static java.lang.String defaultPassword
- The default password for all mailboxes. Set to 'pwd' by default;
_users
private java.util.Map<java.lang.String,Pop3User> _users
mailBoxManager
private MailBoxManager mailBoxManager
UserManager
public UserManager()
getUser
public Pop3User getUser(java.lang.String login)
getUserByEmail
public Pop3User getUserByEmail(java.lang.String email)
createUserIfNecessary
private Pop3User createUserIfNecessary(java.lang.String login)
clear
public void clear()
getMailBoxManager
public MailBoxManager getMailBoxManager()
getDefaultPassword
public static java.lang.String getDefaultPassword()
setDefaultPassword
public static void setDefaultPassword(java.lang.String pwd)
updateExistingUsersPassword
public void updateExistingUsersPassword()