|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object webwork.action.ActionSupport com.atlassian.jira.action.JiraActionSupport com.atlassian.jira.web.action.JiraWebActionSupport com.atlassian.jira.web.action.XsrfErrorAction
public class XsrfErrorAction
This action is usually run via a servlet FORWARD. It will look at the request attributes under
javax.servlet.forward
to figure out what the original request was.
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 | |
---|---|
static String |
FORWARD_PATH
The path to use when forwarding to this action. |
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 webwork.action.ActionSupport |
---|
command, errorMap, errorMessages |
Fields inherited from interface webwork.action.Action |
---|
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Constructor Summary | |
---|---|
XsrfErrorAction(RedirectSanitiser safeRedirectChecker)
|
Method Summary | |
---|---|
String |
execute()
|
String |
getEncodedRedirectUrl()
|
boolean |
getNoRequestParameters()
|
String |
getRequestMethod()
|
Set<Map.Entry<String,List<String>>> |
getRequestParameters()
|
String |
getRequestURL()
|
String |
getSessionTimeoutDuration()
|
String |
getSessionTimeoutUnit()
|
boolean |
isHasRedirectUrl()
|
boolean |
isSessionExpired()
|
Methods inherited from class com.atlassian.jira.action.JiraActionSupport |
---|
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, getActionName, getComponentInstanceOfType, getDefaultResourceBundle, getDelegator, getI18nHelper, getKeysForPrefix, getLocale, getOfBizDelegator, getRemoteUser, getResourceBundle, 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, doDefault, doExecute, doValidation, getCommandName, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, getTimezone, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validate |
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, hasAnyErrors, setErrorMessages |
Methods inherited from interface webwork.action.CommandDriven |
---|
getCommandName, setCommand |
Field Detail |
---|
public static final String FORWARD_PATH
Constructor Detail |
---|
public XsrfErrorAction(RedirectSanitiser safeRedirectChecker)
Method Detail |
---|
public String execute() throws Exception
execute
in interface webwork.action.Action
execute
in class JiraActionSupport
Exception
public boolean isHasRedirectUrl()
public String getEncodedRedirectUrl()
public String getSessionTimeoutDuration()
public String getSessionTimeoutUnit()
public boolean isSessionExpired()
public String getRequestURL()
public String getRequestMethod()
public boolean getNoRequestParameters()
public Set<Map.Entry<String,List<String>>> getRequestParameters()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |