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
public class CaptchaInterceptor extends AbstractAwareInterceptor
Interceptor that performs captcha validation on any actions that implement
CaptchaAware
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CaptchaInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
intercept(com.opensymphony.xwork2.ActionInvocation actionInvocation)
-
Methods inherited from class com.atlassian.confluence.setup.struts.AbstractAwareInterceptor
destroy, getParameter, getUser, hasParameter, init
-
-
-
-
Method Detail
-
intercept
public String intercept(com.opensymphony.xwork2.ActionInvocation actionInvocation) throws Exception
- 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
-
-