Package hudson.security.captcha
Class CaptchaSupport
java.lang.Object
hudson.security.captcha.CaptchaSupport
- All Implemented Interfaces:
- ExtensionPoint,- Describable<CaptchaSupport>
public abstract class CaptchaSupport
extends Object
implements Describable<CaptchaSupport>, ExtensionPoint
Extension point for adding Captcha Support to User Registration Page 
CaptchaSupport.
 
 This object can have an optional config.jelly to configure the Captcha Support
 
A default constructor is needed to create CaptchaSupport in the default configuration.
- Since:
- 1.416
- Author:
- Winston Prakash
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from interface hudson.ExtensionPointExtensionPoint.LegacyInstancesAreScopedToHudson
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionall()Returns all the registeredCaptchaSupportdescriptors.abstract voidgenerateImage(String id, OutputStream ios) Gets the descriptor for this instance.abstract booleanvalidateCaptcha(String id, String text) 
- 
Constructor Details- 
CaptchaSupportpublic CaptchaSupport()
 
- 
- 
Method Details- 
allReturns all the registeredCaptchaSupportdescriptors.
- 
validateCaptcha
- 
generateImage- Throws:
- IOException
 
- 
getDescriptorDescription copied from interface:DescribableGets the descriptor for this instance.Descriptoris a singleton for every concreteDescribableimplementation, so ifa.getClass() == b.getClass()then by defaulta.getDescriptor() == b.getDescriptor()as well. (In rare cases a single implementation class may be used for instances with distinct descriptors.)By default looks for a nested class (conventionally named DescriptorImpl) implementingDescriptorand marked withExtension.- Specified by:
- getDescriptorin interface- Describable<CaptchaSupport>
 
 
-