public class

JiraCaptchaServlet

extends HttpServlet
java.lang.Object
   ↳ javax.servlet.GenericServlet
     ↳ javax.servlet.http.HttpServlet
       ↳ com.atlassian.jira.servlet.JiraCaptchaServlet

Summary

Public Constructors
JiraCaptchaServlet()
Protected Methods
void doGet(HttpServletRequest request, HttpServletResponse response)
Returns a captcha image challenge for a given id.
[Expand]
Inherited Methods
From class javax.servlet.http.HttpServlet
From class javax.servlet.GenericServlet
From class java.lang.Object
From interface javax.servlet.Servlet
From interface javax.servlet.ServletConfig

Public Constructors

public JiraCaptchaServlet ()

Protected Methods

protected void doGet (HttpServletRequest request, HttpServletResponse response)

Returns a captcha image challenge for a given id.

The id used to generate the challenge will be the javax.servlet.http.HttpSession http session id.

Later on, the same id will be used to validate the response to the captcha challenge.

Parameters
request The http request for this captcha image.
response The http response where the captch image will be written to.