Class CrowdXsrfTokenInterceptor

java.lang.Object
com.atlassian.crowd.xwork.interceptors.XsrfTokenInterceptor
com.atlassian.crowd.xwork.interceptors.CrowdXsrfTokenInterceptor
All Implemented Interfaces:
com.opensymphony.xwork2.interceptor.Interceptor, Serializable

public class CrowdXsrfTokenInterceptor extends XsrfTokenInterceptor
Crowd specific implementation of XsrfTokenInterceptor.
Since:
v2.3.2
See Also:
  • Constructor Details

    • CrowdXsrfTokenInterceptor

      public CrowdXsrfTokenInterceptor()
  • Method Details

    • internationaliseErrorMessage

      protected String internationaliseErrorMessage(com.opensymphony.xwork2.Action action, String messageKey)
      Description copied from class: XsrfTokenInterceptor
      Convert an error message key into the correct message for the current user's locale. The default implementation is only useful for testing. Implementations should override this method to provide the appropriate internationalised implementation.
      Overrides:
      internationaliseErrorMessage in class XsrfTokenInterceptor
      Parameters:
      action - the current action being executed
      messageKey - the message key that needs internationalising
      Returns:
      the appropriate internationalised message for the current user