protected final boolean validateCaptcha ( String text ) { if ( captchaSupport != null ) { String id = Stapler . getCurrentRequest ( ) . getSession ( ) . getId ( ) ; return captchaSupport . validateCaptcha ( id , text ) ; } // If no Captcha Support then bogus validation always returns true return true ; }
Validates the captcha .