Class JcaptchaSupport
java.lang.Object
hudson.security.captcha.CaptchaSupport
hudson.security.captcha.JcaptchaSupport
- All Implemented Interfaces:
ExtensionPoint, Describable<CaptchaSupport>
Captcha Support for Hudson Security Realm Using http://jcaptcha.sourceforge.net/
- Author:
- Winston Prakash
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgenerateImage(String id, OutputStream ios) Generates a captcha image.booleanvalidateCaptcha(String id, String text) Validates the captcha.Methods inherited from class CaptchaSupport
all, getDescriptor
-
Constructor Details
-
JcaptchaSupport
@DataBoundConstructor public JcaptchaSupport()
-
-
Method Details
-
validateCaptcha
Validates the captcha.- Specified by:
validateCaptchain classCaptchaSupport
-
generateImage
Generates a captcha image.- Specified by:
generateImagein classCaptchaSupport- Throws:
IOException
-