Class PasswordChangeService

java.lang.Object
com.atlassian.jira.web.action.admin.user.PasswordChangeService

public class PasswordChangeService extends Object
A little bit of common code to help set the users password.
Since:
v3.13.3
  • Constructor Details

  • Method Details

    • setPassword

      public void setPassword(ErrorCollection errorCollection, ApplicationUser user, String newPassword)
      This can be called to set the password for a user. If the set fails then an error message is put onto the error collection.
      Parameters:
      errorCollection - error collection where we should add errors
      user - the user to set the new password for
      newPassword - the new password