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
Interceptor that performs captcha validation on any actions that implement CaptchaAware
.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.opensymphony.xwork2.interceptor.Interceptor
com.opensymphony.xwork2.interceptor.Interceptor.LegacyAdapter
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.atlassian.confluence.setup.struts.AbstractAwareInterceptor
destroy, getParameter, getUser, hasParameter, init
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.opensymphony.xwork2.interceptor.Interceptor
intercept
-
Constructor Details
-
CaptchaInterceptor
public CaptchaInterceptor()
-
-
Method Details
-
intercept
- Specified by:
intercept
in interfacecom.opensymphony.xwork2.interceptor.Interceptor
- Specified by:
intercept
in classAbstractAwareInterceptor
- Returns:
Action.INPUT
on validation failure. Otherwise, it will return the result actionInvocation.invoke().- Throws:
Exception
-