public class PasswordChangeService extends Object
Constructor and Description |
---|
PasswordChangeService(UserUtil userUtil,
JiraAuthenticationContext jiraAuthenticationContext) |
Modifier and Type | Method and Description |
---|---|
void |
setPassword(ErrorCollection errorCollection,
ApplicationUser user,
String newPassword)
This can be called to set the password for a user.
|
public PasswordChangeService(UserUtil userUtil, JiraAuthenticationContext jiraAuthenticationContext)
public void setPassword(ErrorCollection errorCollection, ApplicationUser user, String newPassword)
errorCollection
- error collection where we should add errorsuser
- the user to set the new password fornewPassword
- the new passwordCopyright © 2002-2017 Atlassian. All Rights Reserved.