@Component @Named(value="captcha") @Singleton public class CaptchaScriptService extends Object implements org.xwiki.script.service.ScriptService
Captcha
s to scripts.Constructor and Description |
---|
CaptchaScriptService() |
Modifier and Type | Method and Description |
---|---|
Captcha |
get(String captchaName) |
List<String> |
getCaptchaNames() |
Captcha |
getDefault() |
String |
getDefaultCaptchaName() |
public List<String> getCaptchaNames()
public Captcha get(String captchaName)
captchaName
- the name of the CAPTCHA implementation to getpublic String getDefaultCaptchaName()
public Captcha getDefault()
Copyright © 2004–2021 XWiki. All rights reserved.