@Service public class AccountServiceImpl extends Object implements AccountService
ALL_USER_GROUP| Constructor and Description |
|---|
AccountServiceImpl(DataService dataService,
org.springframework.mail.javamail.JavaMailSender mailSender,
MolgenisUserService molgenisUserService,
AppSettings appSettings) |
| Modifier and Type | Method and Description |
|---|---|
void |
activateUser(String activationCode)
Activate a registered user
|
void |
changePassword(String username,
String newPassword) |
void |
createUser(MolgenisUser molgenisUser,
String baseActivationUri) |
void |
resetPassword(String userEmail) |
@Autowired public AccountServiceImpl(DataService dataService, org.springframework.mail.javamail.JavaMailSender mailSender, MolgenisUserService molgenisUserService, AppSettings appSettings)
@Transactional public void createUser(MolgenisUser molgenisUser, String baseActivationUri) throws UsernameAlreadyExistsException, EmailAlreadyExistsException
createUser in interface AccountServiceUsernameAlreadyExistsExceptionEmailAlreadyExistsExceptionpublic void activateUser(String activationCode)
AccountServiceactivateUser in interface AccountServicepublic void changePassword(String username, String newPassword)
changePassword in interface AccountServicepublic void resetPassword(String userEmail)
resetPassword in interface AccountServiceCopyright © 2016. All Rights Reserved.