mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-08 14:51:49 +00:00
Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud)
107541: Merged 5.0.N (5.0.3) to HEAD-BUG-FIX (5.1/Cloud) (PARTIAL MERGE) 107413: Merged DEV to 5.0.N (5.0.3) 106858 : MNT-13545: JavaDoc : Inconsistencies between the Java doc and the actual code - Cleaning of Javadoc, 107565: MNT-13545 Fix compilation after merge of Javadoc git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@107633 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -22,6 +22,9 @@ import java.util.Collections;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import com.icegreen.greenmail.imap.ImapRequestLineReader;
|
||||
import com.icegreen.greenmail.imap.ImapResponse;
|
||||
import com.icegreen.greenmail.imap.ImapSession;
|
||||
import org.alfresco.model.ContentModel;
|
||||
import org.alfresco.repo.security.authentication.AuthenticationException;
|
||||
import org.alfresco.service.cmr.repository.NodeRef;
|
||||
@@ -99,13 +102,12 @@ public class AlfrescoImapUserManager extends UserManager
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* The login method.
|
||||
*
|
||||
* @see com.icegreen.greenmail.imap.commands.LoginCommand#doProcess(com.icegreen.greenmail.imap.ImapRequestLineReader, com.icegreen.greenmail.imap.ImapResponse, com.icegreen.greenmail.imap.ImapSession)
|
||||
*/
|
||||
public boolean test(String userid, String password)
|
||||
{
|
||||
/**
|
||||
* The login method.
|
||||
*
|
||||
*/
|
||||
public boolean test(String userid, String password)
|
||||
{
|
||||
try
|
||||
{
|
||||
authenticationService.authenticate(userid, password.toCharArray());
|
||||
|
Reference in New Issue
Block a user