public class AlfrescoImapUserManager
extends com.icegreen.greenmail.user.UserManager
Modifier and Type | Field and Description |
---|---|
protected AuthenticationService |
authenticationService |
protected org.alfresco.service.cmr.repository.NodeService |
nodeService |
protected PersonService |
personService |
protected Map<String,com.icegreen.greenmail.user.GreenMailUser> |
userMap |
Constructor and Description |
---|
AlfrescoImapUserManager() |
Modifier and Type | Method and Description |
---|---|
protected void |
addUser(com.icegreen.greenmail.user.GreenMailUser user) |
com.icegreen.greenmail.user.GreenMailUser |
createUser(String email,
String login,
String password) |
void |
deleteUser(com.icegreen.greenmail.user.GreenMailUser user) |
com.icegreen.greenmail.user.GreenMailUser |
getUser(String login) |
com.icegreen.greenmail.user.GreenMailUser |
getUserByEmail(String email) |
void |
setAuthenticationService(AuthenticationService authenticationService) |
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService) |
void |
setPersonService(PersonService personService) |
boolean |
test(String userid,
String password)
The login method.
|
protected AuthenticationService authenticationService
protected PersonService personService
protected org.alfresco.service.cmr.repository.NodeService nodeService
public com.icegreen.greenmail.user.GreenMailUser createUser(String email, String login, String password) throws com.icegreen.greenmail.user.UserException
createUser
in class com.icegreen.greenmail.user.UserManager
com.icegreen.greenmail.user.UserException
protected void addUser(com.icegreen.greenmail.user.GreenMailUser user)
public com.icegreen.greenmail.user.GreenMailUser getUser(String login)
getUser
in class com.icegreen.greenmail.user.UserManager
public com.icegreen.greenmail.user.GreenMailUser getUserByEmail(String email)
getUserByEmail
in class com.icegreen.greenmail.user.UserManager
public void deleteUser(com.icegreen.greenmail.user.GreenMailUser user) throws com.icegreen.greenmail.user.UserException
deleteUser
in class com.icegreen.greenmail.user.UserManager
com.icegreen.greenmail.user.UserException
public boolean test(String userid, String password)
test
in class com.icegreen.greenmail.user.UserManager
public void setAuthenticationService(AuthenticationService authenticationService)
public void setPersonService(PersonService personService)
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
Copyright © 2005–2017 Alfresco Software. All rights reserved.