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); } }