public class JiraCaptchaServlet
extends javax.servlet.http.HttpServlet
Constructor and Description |
---|
JiraCaptchaServlet() |
Modifier and Type | Method and Description |
---|---|
protected void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Returns a captcha image challenge for a given id.
|
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
protected void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
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.ImageCaptchaService.getImageChallengeForID(String, java.util.Locale).
Copyright © 2002-2019 Atlassian. All Rights Reserved.