mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
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:
@@ -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()
|
||||
|
Reference in New Issue
Block a user