Class BambooCaptchaServlet

java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.atlassian.bamboo.servlet.BambooHttpServlet
com.atlassian.bamboo.servlet.BambooCaptchaServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class BambooCaptchaServlet extends BambooHttpServlet
Servlet that writes out captcha challenges (images). It associates challenge/response with atl_token, so to validate user response you have to extract the atl_token parameter from the active request. See SignupUser.validate() for usage example, and for more details see http://jcaptcha.octo.com/confluence/display/general/5+minutes+application+integration+tutorial
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    doGet(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse)
     

    Methods inherited from class com.atlassian.bamboo.servlet.BambooHttpServlet

    init

    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, log, log

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • BambooCaptchaServlet

      public BambooCaptchaServlet()
  • Method Details

    • doGet

      protected void doGet(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) throws javax.servlet.ServletException, IOException
      Overrides:
      doGet in class javax.servlet.http.HttpServlet
      Throws:
      javax.servlet.ServletException
      IOException