public class ResetPassword extends JiraWebActionSupport
ForgotLoginDetails.doExecute()
JiraWebActionSupport.MessageType
ErrorCollection.Reason
I18nHelper.BeanFactory
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilters
log
Constructor and Description |
---|
ResetPassword(UserUtil userUtil,
LoginService loginService,
com.atlassian.event.api.EventPublisher eventPublisher,
PasswordPolicyManager passwordPolicyManager,
PasswordChangeService passwordChangeService) |
Modifier and Type | Method and Description |
---|---|
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() |
List<WebErrorMessage> |
getPasswordErrors() |
String |
getToken() |
boolean |
isTokenInvalid() |
boolean |
isTokenTimedOut() |
boolean |
isUserInvalid() |
void |
setConfirm(String confirm) |
void |
setOs_username(String os_username) |
void |
setPassword(String password) |
void |
setToken(String token) |
protected void |
validate() |
addError, addErrorCollection, addErrorMessage, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, addMessageToResponse, addReason, addReasons, forceRedirect, getAdministratorContactLink, getApplicationProperties, getAuthorizationSupport, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDateTimeFormatter, getDescTranslation, getDescTranslation, getDmyDateFormatter, getEmptyResponse, getErrorMessages, getErrors, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getHttpRequest, getHttpResponse, getHttpSession, getJiraContactHelper, getJiraServiceContext, getLanguage, getLoggedInApplicationUser, getLoggedInUser, getNameTranslation, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getRandomHint, getReasons, getRedirect, getRedirect, getRedirectSanitiser, getRequestSourceType, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getServletContext, getTimeFormat, getUriValidator, getUserFullName, getUserManager, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, getXsrfToken, hasErrorMessage, hasErrorMessageByKey, hasGlobalPermission, hasGlobalPermission, hasIssuePermission, hasIssuePermission, hasIssuePermission, hasPermission, hasProjectPermission, hasProjectPermission, htmlEncode, insertContextPath, isInlineDialogMode, isSystemAdministrator, isUserExists, isUserExistsByKey, isUserExistsByName, returnComplete, returnComplete, returnCompleteWithInlineRedirect, returnCompleteWithInlineRedirectAndMsg, returnCompleteWithInlineRedirectAndMsg, returnMsgToUser, returnMsgToUser, setConglomerateCookieValue, setInline, setReasons, setReturnUrl, setSelectedProjectId, tagMauEventWithApplication, tagMauEventWithProject, urlEncode
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getComponentInstanceOfType, getDefaultResourceBundle, getI18nHelper, getKeysForPrefix, getLocale, getOfBizDelegator, getResourceBundle, getResult, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getUnescapedText, getUntransformedRawText, getUserPreferences, hasAnyErrors, isIndexing, isKeyDefined, removeKeyOrAddError
addError, addErrorMessage, doValidation, getCommandName, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, getTimezone, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addError, addErrorMessage, addErrorMessages, addErrors, hasAnyErrors, setErrorMessages
public ResetPassword(UserUtil userUtil, LoginService loginService, com.atlassian.event.api.EventPublisher eventPublisher, PasswordPolicyManager passwordPolicyManager, PasswordChangeService passwordChangeService)
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 List<WebErrorMessage> getPasswordErrors()
public String getConfirm()
public void setConfirm(String confirm)
public boolean isTokenTimedOut()
public boolean isTokenInvalid()
public boolean isUserInvalid()
Copyright © 2002-2019 Atlassian. All Rights Reserved.