|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwebwork.action.ActionSupport
com.atlassian.jira.action.JiraActionSupport
com.atlassian.jira.web.action.JiraWebActionSupport
com.atlassian.jira.web.action.user.ResetPassword
public class ResetPassword
Handles the requests to reset a password for a specific user. The link to this action will come in an email sent from
as a result of the execution of ForgotLoginDetails.doExecute()
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.atlassian.jira.web.action.JiraWebActionSupport |
---|
JiraWebActionSupport.MessageType |
Nested classes/interfaces inherited from interface com.atlassian.jira.util.ErrorCollection |
---|
ErrorCollection.Reason |
Nested classes/interfaces inherited from interface com.atlassian.jira.util.I18nHelper |
---|
I18nHelper.BeanFactory |
Field Summary |
---|
Fields inherited from class com.atlassian.jira.web.action.JiraWebActionSupport |
---|
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilters |
Fields inherited from class com.atlassian.jira.action.JiraActionSupport |
---|
log |
Fields inherited from class webwork.action.ActionSupport |
---|
command, errorMap, errorMessages |
Fields inherited from interface webwork.action.Action |
---|
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Constructor Summary | |
---|---|
ResetPassword(UserUtil userUtil)
|
Method Summary | |
---|---|
String |
doDefault()
Handles the request to render the Reset Password form. |
protected String |
doExecute()
Handles the request to set a new password for the user in play from the Reset Password form. |
String |
getConfirm()
|
String |
getOs_username()
|
String |
getPassword()
|
String |
getToken()
|
boolean |
isTokenInvalid()
|
boolean |
isTokenTimedOut()
|
void |
setConfirm(String confirm)
|
void |
setOs_username(String os_username)
|
void |
setPassword(String password)
|
void |
setToken(String token)
|
protected void |
validate()
|
Methods inherited from class com.atlassian.jira.action.JiraActionSupport |
---|
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getComponentInstanceOfType, getDefaultResourceBundle, getDelegator, getI18nHelper, getKeysForPrefix, getLocale, getOfBizDelegator, getRemoteUser, getResult, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getUnescapedText, getUntransformedRawText, getUserPreferences, getWatcherManager, hasAnyErrors, isIndexing, isKeyDefined, removeKeyOrAddError |
Methods inherited from class webwork.action.ActionSupport |
---|
addError, addErrorMessage, doValidation, getCommandName, getErrorMessages, getErrors, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, getTimezone, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.atlassian.jira.util.ErrorCollection |
---|
addError, addErrorMessage, addErrorMessages, addErrors, getErrorMessages, getErrors, hasAnyErrors, setErrorMessages |
Methods inherited from interface webwork.action.CommandDriven |
---|
getCommandName, setCommand |
Constructor Detail |
---|
public ResetPassword(UserUtil userUtil)
Method Detail |
---|
public String doDefault()
doDefault
in class webwork.action.ActionSupport
Action.INPUT
; Otherwise, Action.ERROR
is returned.protected void validate() throws webwork.action.ResultException
validate
in class webwork.action.ActionSupport
webwork.action.ResultException
protected String doExecute()
doExecute
in class webwork.action.ActionSupport
Action.ERROR
; otherwise, Action.SUCCESS
is returned.public String getToken()
public void setToken(String token)
public String getOs_username()
public void setOs_username(String os_username)
public String getPassword()
public void setPassword(String password)
public String getConfirm()
public void setConfirm(String confirm)
public boolean isTokenTimedOut()
public boolean isTokenInvalid()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |