com.atlassian.confluence.xwork
Class ConfluenceXsrfTokenInterceptor

java.lang.Object
  extended by com.atlassian.xwork.interceptors.XsrfTokenInterceptor
      extended by com.atlassian.xwork10.interceptors.XsrfTokenInterceptor
          extended by com.atlassian.confluence.xwork.ConfluenceXsrfTokenInterceptor
All Implemented Interfaces:
com.opensymphony.xwork.interceptor.Interceptor

public class ConfluenceXsrfTokenInterceptor
extends com.atlassian.xwork10.interceptors.XsrfTokenInterceptor


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 Summary
ConfluenceXsrfTokenInterceptor()
           
 
Method Summary
 java.lang.String intercept(com.opensymphony.xwork.ActionInvocation actionInvocation)
           
protected  java.lang.String internationaliseErrorMessage(com.opensymphony.xwork.Action action, java.lang.String key)
           
 
Methods inherited from class com.atlassian.xwork.interceptors.XsrfTokenInterceptor
addInvalidTokenError, destroy, getSecurityLevel, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfluenceXsrfTokenInterceptor

public ConfluenceXsrfTokenInterceptor()
Method Detail

intercept

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

internationaliseErrorMessage

protected java.lang.String internationaliseErrorMessage(com.opensymphony.xwork.Action action,
                                                        java.lang.String key)
Overrides:
internationaliseErrorMessage in class com.atlassian.xwork.interceptors.XsrfTokenInterceptor


Copyright © 2003-2014 Atlassian. All Rights Reserved.