@Service public class AccountServiceImpl extends Object implements AccountService
ALL_USER_GROUP| Constructor and Description |
|---|
AccountServiceImpl(DataService dataService,
org.springframework.mail.MailSender mailSender,
UserService userService,
org.molgenis.data.settings.AppSettings appSettings,
AuthenticationSettings authenticationSettings,
GroupMemberFactory groupMemberFactory,
IdGenerator idGenerator) |
| Modifier and Type | Method and Description |
|---|---|
void |
activateUser(String activationCode)
Activate a registered user
|
void |
changePassword(String username,
String newPassword) |
void |
createUser(User user,
String baseActivationUri) |
void |
resetPassword(String userEmail) |
public AccountServiceImpl(DataService dataService, org.springframework.mail.MailSender mailSender, UserService userService, org.molgenis.data.settings.AppSettings appSettings, AuthenticationSettings authenticationSettings, GroupMemberFactory groupMemberFactory, IdGenerator idGenerator)
@Transactional public void createUser(User user, 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 © 2017. All rights reserved.