hudson.security.captcha
Class JcaptchaSupport
java.lang.Object
hudson.model.AbstractDescribableImpl<hudson.security.captcha.CaptchaSupport>
hudson.security.captcha.CaptchaSupport
hudson.security.captcha.JcaptchaSupport
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.security.captcha.CaptchaSupport>
public class JcaptchaSupport
- extends hudson.security.captcha.CaptchaSupport
Captcha Support for Hudson Security Realm Using http://jcaptcha.sourceforge.net/
- Author:
- Winston Prakash
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Methods inherited from class hudson.security.captcha.CaptchaSupport |
all, getDescriptor |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JcaptchaSupport
@DataBoundConstructor
public JcaptchaSupport()
validateCaptcha
public boolean validateCaptcha(String id,
String text)
- Validates the captcha.
- Specified by:
validateCaptcha in class hudson.security.captcha.CaptchaSupport
generateImage
public void generateImage(String id,
OutputStream ios)
throws IOException
- Generates a captcha image.
- Specified by:
generateImage in class hudson.security.captcha.CaptchaSupport
- Throws:
IOException
Copyright © 2004-2011. All Rights Reserved.