com.atlassian.jira.security.xsrf
Class XsrfFailureException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.atlassian.jira.security.xsrf.XsrfFailureException
All Implemented Interfaces:
Serializable

public class XsrfFailureException
extends RuntimeException

This is thrown when an Action request fails an XSRF check

Since:
v4.1
See Also:
Serialized Form

Constructor Summary
XsrfFailureException(webwork.action.Action action, javax.servlet.http.HttpServletRequest request, XsrfCheckResult checkResult, boolean sessionExpired)
           
 
Method Summary
 webwork.action.Action getAction()
           
 XsrfCheckResult getCheckResult()
           
 String getRequestMethod()
           
 Set<Map.Entry<String,List<String>>> getRequestParameters()
           
 String getRequestURL()
           
 boolean isSessionExpired()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XsrfFailureException

public XsrfFailureException(webwork.action.Action action,
                            javax.servlet.http.HttpServletRequest request,
                            XsrfCheckResult checkResult,
                            boolean sessionExpired)
Method Detail

getAction

public webwork.action.Action getAction()

getRequestURL

public String getRequestURL()

getRequestMethod

public String getRequestMethod()

getRequestParameters

public Set<Map.Entry<String,List<String>>> getRequestParameters()

getCheckResult

public XsrfCheckResult getCheckResult()

isSessionExpired

public boolean isSessionExpired()


Copyright © 2002-2012 Atlassian. All Rights Reserved.