Class JiraCaptchaServlet

  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by com.atlassian.jira.servlet.JiraCaptchaServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class JiraCaptchaServlet
extends javax.servlet.http.HttpServlet

See Also:
Serialized Form

Constructor Summary
Method Summary
protected  void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Returns a captcha image challenge for a given id.
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public JiraCaptchaServlet()
Method Detail


protected void doGet(javax.servlet.http.HttpServletRequest request,
                     javax.servlet.http.HttpServletResponse response)
Returns a captcha image challenge for a given id.

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

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

doGet in class javax.servlet.http.HttpServlet
request - The http request for this captcha image.
response - The http response where the captch image will be written to.
See Also:
ImageCaptchaService.getImageChallengeForID(String, java.util.Locale).

Copyright © 2002-2014 Atlassian. All Rights Reserved.