com.atlassian.confluence.security.interceptors
Class CaptchaInterceptor

java.lang.Object
  extended by com.atlassian.confluence.setup.webwork.AbstractAwareInterceptor
      extended by com.atlassian.confluence.security.interceptors.CaptchaInterceptor
All Implemented Interfaces:
com.opensymphony.xwork.interceptor.Interceptor

public class CaptchaInterceptor
extends AbstractAwareInterceptor

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


Constructor Summary
CaptchaInterceptor()
           
 
Method Summary
 java.lang.String intercept(com.opensymphony.xwork.ActionInvocation actionInvocation)
           
 
Methods inherited from class com.atlassian.confluence.setup.webwork.AbstractAwareInterceptor
destroy, getParameter, getUser, hasParameter, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CaptchaInterceptor

public CaptchaInterceptor()
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
Specified by:
intercept in class AbstractAwareInterceptor
Returns:
Action.INPUT on validation failure. Otherwise, it will return the result actionInvocation.invoke().
Throws:
java.lang.Exception


Copyright © 2003-2014 Atlassian. All Rights Reserved.