From 95a129f3fa5505518665fbf340e5e96c142a6ddb Mon Sep 17 00:00:00 2001 From: kohsuke Date: Fri, 4 Jan 2008 07:14:04 +0000 Subject: [PATCH] enable LDAP support experimentally git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6476 71c3de6d-444a-0410-be80-ed276b4c234a Originally-Committed-As: ab5e6f929dba5907eb90e26a573bab64d51cc792 --- core/src/main/java/hudson/security/LDAPSecurityRealm.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/src/main/java/hudson/security/LDAPSecurityRealm.java b/core/src/main/java/hudson/security/LDAPSecurityRealm.java index 338a9e1..0a97e97 100644 --- a/core/src/main/java/hudson/security/LDAPSecurityRealm.java +++ b/core/src/main/java/hudson/security/LDAPSecurityRealm.java @@ -57,6 +57,7 @@ public class LDAPSecurityRealm extends SecurityRealm { } static { -// LIST.add(DESCRIPTOR); + if(Boolean.getBoolean("LDAP")) + LIST.add(DESCRIPTOR); } }