Merged DEV/IMAP3 to HEAD

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14654 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2009-06-11 11:14:55 +00:00
parent 5b6ff13d94
commit 1a0c0dc758
51 changed files with 4726 additions and 2796 deletions

View File

@@ -26,7 +26,6 @@ package org.alfresco.repo.imap;
import javax.mail.internet.MimeMessage;
import com.icegreen.greenmail.imap.ImapHostManager;
import com.icegreen.greenmail.mail.MovingMessage;
import com.icegreen.greenmail.user.GreenMailUser;
import com.icegreen.greenmail.user.UserException;
@@ -42,14 +41,11 @@ public class AlfrescoImapUser implements GreenMailUser
private char[] password;
private String email;
private ImapHostManager imapHostManager;
public AlfrescoImapUser(String email, String login, String password, ImapHostManager imapHostManager)
public AlfrescoImapUser(String email, String login, String password)
{
this.email = email;
this.userName = login;
this.password = password.toCharArray();
this.imapHostManager = imapHostManager;
}
public void authenticate(String password) throws UserException
@@ -71,12 +67,12 @@ public class AlfrescoImapUser implements GreenMailUser
public void deliver(MovingMessage msg) throws UserException
{
throw new UnsupportedOperationException();
}
public void deliver(MimeMessage msg) throws UserException
{
throw new UnsupportedOperationException();
}
public String getEmail()