mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-16 21:42:27 +00:00
making it public so that tests and other plugins can replace it
This commit is contained in:
1 parent
69275965a7
commit
6537f186ec
1 file changed
+3
-2
@@ -25,6 +25,7 @@ package hudson.security;
|
||||
|
||||
import com.octo.captcha.service.CaptchaServiceException;
|
||||
import com.octo.captcha.service.image.DefaultManageableImageCaptchaService;
|
||||
import com.octo.captcha.service.image.ImageCaptchaService;
|
||||
import groovy.lang.Binding;
|
||||
import hudson.ExtensionPoint;
|
||||
import hudson.DescriptorExtensionList;
|
||||
@@ -326,8 +327,8 @@ public abstract class SecurityRealm extends AbstractDescribableImpl<SecurityReal
|
||||
/**
|
||||
* {@link DefaultManageableImageCaptchaService} holder to defer initialization.
|
||||
*/
|
||||
private static final class CaptchaService {
|
||||
private static final DefaultManageableImageCaptchaService INSTANCE = new DefaultManageableImageCaptchaService();
|
||||
public static final class CaptchaService {
|
||||
public static ImageCaptchaService INSTANCE = new DefaultManageableImageCaptchaService();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user