com.atlassian.bamboo.ww2.interceptors
Class BambooXsrfTokenInterceptor

java.lang.Object
  extended by com.atlassian.bamboo.ww2.interceptors.AbstractBambooInterceptor
      extended by com.atlassian.bamboo.ww2.interceptors.BambooXsrfTokenInterceptor
All Implemented Interfaces:
com.opensymphony.xwork2.interceptor.Interceptor, Serializable

public class BambooXsrfTokenInterceptor
extends AbstractBambooInterceptor

XSRF token Interceptor

See Also:
Serialized Form

Field Summary
static String XSRF_FAILURE_BAD_REFERRER
           
static String XSRF_FAILURE_BAD_TOKEN
           
static String XSRF_FAILURE_NO_REFERRER
           
static String XSRF_FAILURE_NO_TOKEN_IN_COOKIE
           
static String XSRF_FAILURE_NO_TOKEN_IN_PARAMS
           
static String XSRF_SUCCESS
           
 
Constructor Summary
BambooXsrfTokenInterceptor()
           
 
Method Summary
 String doIntercept(com.opensymphony.xwork2.ActionInvocation invocation)
           
 void setAdministrationConfigurationAccessor(AdministrationConfigurationAccessor administrationConfigurationAccessor)
           
 
Methods inherited from class com.atlassian.bamboo.ww2.interceptors.AbstractBambooInterceptor
destroy, getParameter, getParameterAsInt, hasParameter, init, intercept
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

XSRF_FAILURE_NO_REFERRER

public static final String XSRF_FAILURE_NO_REFERRER
See Also:
Constant Field Values

XSRF_FAILURE_BAD_REFERRER

public static final String XSRF_FAILURE_BAD_REFERRER
See Also:
Constant Field Values

XSRF_FAILURE_BAD_TOKEN

public static final String XSRF_FAILURE_BAD_TOKEN
See Also:
Constant Field Values

XSRF_FAILURE_NO_TOKEN_IN_COOKIE

public static final String XSRF_FAILURE_NO_TOKEN_IN_COOKIE
See Also:
Constant Field Values

XSRF_FAILURE_NO_TOKEN_IN_PARAMS

public static final String XSRF_FAILURE_NO_TOKEN_IN_PARAMS
See Also:
Constant Field Values

XSRF_SUCCESS

public static final String XSRF_SUCCESS
See Also:
Constant Field Values
Constructor Detail

BambooXsrfTokenInterceptor

public BambooXsrfTokenInterceptor()
Method Detail

doIntercept

public String doIntercept(com.opensymphony.xwork2.ActionInvocation invocation)
                   throws Exception
Specified by:
doIntercept in class AbstractBambooInterceptor
Throws:
Exception

setAdministrationConfigurationAccessor

public void setAdministrationConfigurationAccessor(AdministrationConfigurationAccessor administrationConfigurationAccessor)


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.