com.atlassian.jira.web.action.admin.user
Class UserPasswordActionHelper

java.lang.Object
  extended by com.atlassian.jira.web.action.admin.user.UserPasswordActionHelper

public class UserPasswordActionHelper
extends Object

A little bit of common code to help an Action set the users password. This is currently used in 2 places

Since:
v3.13.3

Constructor Summary
UserPasswordActionHelper(JiraWebActionSupport action, UserUtil userUtil)
           
 
Method Summary
 void setPassword(com.atlassian.crowd.embedded.api.User user, String newPassword)
          This can be called to set the password for a user.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserPasswordActionHelper

public UserPasswordActionHelper(JiraWebActionSupport action,
                                UserUtil userUtil)
Method Detail

setPassword

public void setPassword(com.atlassian.crowd.embedded.api.User 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 action.

Parameters:
user - the user to set the new password for
newPassword - the new password


Copyright © 2002-2012 Atlassian. All Rights Reserved.