Package hudson.security.captcha
Class JcaptchaSupport
java.lang.Object
hudson.model.AbstractDescribableImpl<CaptchaSupport>
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 hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
generateImage
(String id, OutputStream ios) Generates a captcha image.boolean
validateCaptcha
(String id, String text) Validates the captcha.Methods inherited from class hudson.security.captcha.CaptchaSupport
all, getDescriptor
-
Constructor Details
-
JcaptchaSupport
@DataBoundConstructor public JcaptchaSupport()
-
-
Method Details
-
validateCaptcha
Validates the captcha.- Specified by:
validateCaptcha
in classCaptchaSupport
-
generateImage
Generates a captcha image.- Specified by:
generateImage
in classCaptchaSupport
- Throws:
IOException
-