Class ConfluenceXsrfTokenInterceptor

  • All Implemented Interfaces:
    com.opensymphony.xwork2.interceptor.Interceptor, Serializable

    public class ConfluenceXsrfTokenInterceptor
    extends com.atlassian.xwork.interceptors.XsrfTokenInterceptor
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.atlassian.xwork.interceptors.XsrfTokenInterceptor

        com.atlassian.xwork.interceptors.XsrfTokenInterceptor.SecurityLevel
    • Field Summary

      • Fields inherited from class com.atlassian.xwork.interceptors.XsrfTokenInterceptor

        CONFIG_PARAM_NAME, OVERRIDE_HEADER_NAME, OVERRIDE_HEADER_VALUE, REQUEST_PARAM_NAME, SECURITY_TOKEN_REQUIRED_ERROR_KEY, VALIDATION_FAILED_ERROR_KEY
    • Constructor Detail

      • ConfluenceXsrfTokenInterceptor

        public ConfluenceXsrfTokenInterceptor()
    • Method Detail

      • intercept

        public String intercept​(com.opensymphony.xwork2.ActionInvocation actionInvocation)
                         throws Exception
        Specified by:
        intercept in interface com.opensymphony.xwork2.interceptor.Interceptor
        Overrides:
        intercept in class com.atlassian.xwork.interceptors.XsrfTokenInterceptor
        Throws:
        Exception
      • internationaliseErrorMessage

        protected String internationaliseErrorMessage​(com.opensymphony.xwork2.Action action,
                                                      String key)
        Overrides:
        internationaliseErrorMessage in class com.atlassian.xwork.interceptors.XsrfTokenInterceptor
      • getSecurityLevel

        protected com.atlassian.xwork.interceptors.XsrfTokenInterceptor.SecurityLevel getSecurityLevel()
        Overrides:
        getSecurityLevel in class com.atlassian.xwork.interceptors.XsrfTokenInterceptor