Package ch.tocco.nice2.usermanager.impl
Class RequestNewPasswordServiceImpl
java.lang.Object
ch.tocco.nice2.usermanager.impl.RequestNewPasswordServiceImpl
- All Implemented Interfaces:
RequestNewPasswordService
@Component
public class RequestNewPasswordServiceImpl
extends Object
implements RequestNewPasswordService
Service that implements the "requestPassword" functionality. In this module the relation of the principal
to the User is known and so the email address is available from here.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionRequestNewPasswordServiceImpl
(PrincipalDetailService principalDetailService, org.slf4j.Logger log, MailFactory emailFactory, PasswordEncoder passwordEncoder, PrincipalService principalService, SecurityManager securityManager, EmailTemplateLoadService emailTemplateLoadService, L10N l10N) -
Method Summary
Modifier and TypeMethodDescriptionvoid
requestNewPassword
(String username) request a new password for a specific uservoid
setEmailNoReplyFrom
(String emailNoReplyFrom)
-
Field Details
-
MAIL_TEMPLATE_ID
- See Also:
-
-
Constructor Details
-
RequestNewPasswordServiceImpl
public RequestNewPasswordServiceImpl(PrincipalDetailService principalDetailService, org.slf4j.Logger log, MailFactory emailFactory, PasswordEncoder passwordEncoder, PrincipalService principalService, SecurityManager securityManager, EmailTemplateLoadService emailTemplateLoadService, L10N l10N)
-
-
Method Details
-
setEmailNoReplyFrom
-
requestNewPassword
Description copied from interface:RequestNewPasswordService
request a new password for a specific user- Specified by:
requestNewPassword
in interfaceRequestNewPasswordService
- Parameters:
username
- the user for which a new pw is requested
-