Class DefaultRequestMethodChecker
java.lang.Object
com.atlassian.jira.security.ActionInvocationCheckerBase
com.atlassian.jira.security.request.DefaultRequestMethodChecker
- All Implemented Interfaces:
RequestMethodChecker
public class DefaultRequestMethodChecker
extends ActionInvocationCheckerBase
implements RequestMethodChecker
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncheckActionInvocation(webwork.action.Action action, String requestMethod) Checks that the action about to be executed has been invoked within the correct request method.Methods inherited from class com.atlassian.jira.security.ActionInvocationCheckerBase
getMethod, getMethodName
-
Constructor Details
-
DefaultRequestMethodChecker
public DefaultRequestMethodChecker()
-
-
Method Details
-
checkActionInvocation
public RequestMethodCheckResult checkActionInvocation(@Nonnull webwork.action.Action action, @Nonnull String requestMethod) Description copied from interface:RequestMethodCheckerChecks that the action about to be executed has been invoked within the correct request method. This method will perform the check for all "commands" even if they are not annotated withSupportedMethods. For "commands" with missingSupportedMethodschecker assume that "command" can be invoked only with POST method.- Specified by:
checkActionInvocationin interfaceRequestMethodChecker- Parameters:
action- theActionSupportin play. Cannot be null.requestMethod- request method action was called within- Returns:
- result of request method check
-