public class ResetPassword extends JiraWebActionSupport
ForgotLoginDetails.doExecute()JiraWebActionSupport.MessageTypeErrorCollection.ReasonI18nHelper.BeanFactoryISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilterslog| 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, urlEncodeaddErrorMessages, 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, removeKeyOrAddErroraddError, addErrorMessage, doValidation, getCommandName, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, getTimezone, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrorsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddError, addErrorMessage, addErrorMessages, addErrors, hasAnyErrors, setErrorMessagespublic ResetPassword(UserUtil userUtil, LoginService loginService, com.atlassian.event.api.EventPublisher eventPublisher, PasswordPolicyManager passwordPolicyManager, PasswordChangeService passwordChangeService)
public String doDefault()
doDefault in class webwork.action.ActionSupportAction.INPUT; Otherwise, Action.ERROR is returned.protected void validate()
throws webwork.action.ResultException
validate in class webwork.action.ActionSupportwebwork.action.ResultExceptionprotected String doExecute()
doExecute in class webwork.action.ActionSupportAction.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.