Class CaptchaInterceptor

java.lang.Object
com.atlassian.confluence.setup.struts.AbstractAwareInterceptor
com.atlassian.confluence.security.interceptors.CaptchaInterceptor
All Implemented Interfaces:
com.opensymphony.xwork2.interceptor.Interceptor, Serializable, org.apache.struts2.interceptor.Interceptor

public class CaptchaInterceptor extends AbstractAwareInterceptor

Interceptor that performs captcha validation on any actions that implement CaptchaAware.

See Also:
  • Constructor Details

    • CaptchaInterceptor

      public CaptchaInterceptor()
  • Method Details

    • intercept

      public String intercept(com.opensymphony.xwork2.ActionInvocation actionInvocation) throws Exception
      Specified by:
      intercept in interface com.opensymphony.xwork2.interceptor.Interceptor
      Specified by:
      intercept in class AbstractAwareInterceptor
      Returns:
      Action.INPUT on validation failure. Otherwise, it will return the result actionInvocation.invoke().
      Throws:
      Exception