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
 String intercept(com.opensymphony.xwork.ActionInvocation actionInvocation)
           
protected  String internationaliseErrorMessage(com.opensymphony.xwork.Action action, 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 String intercept(com.opensymphony.xwork.ActionInvocation actionInvocation)
                 throws Exception
Specified by:
intercept in interface com.opensymphony.xwork.interceptor.Interceptor
Overrides:
intercept in class com.atlassian.xwork.interceptors.XsrfTokenInterceptor
Throws:
Exception

internationaliseErrorMessage

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


Copyright © 2003-2013 Atlassian. All Rights Reserved.