IllegalArgumentException in DeferredCreationLdapAuthoritiesPopulator if groupSearchBase is omitted.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@12386 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2008-09-27 00:26:21 +00:00
1 parent 2679926cfa
commit a2e2651ce1
1 file changed
-3
@@ -115,9 +115,6 @@ public class DeferredCreationLdapAuthoritiesPopulator implements LdapAuthorities
* @return a DefaultLdapAuthoritiesPopulator.
*/
private DefaultLdapAuthoritiesPopulator create() {
Assert
.hasText(groupSearchBase,
"groupSearchBase must be non-null by the time DefaultLdapAuthoritiesPopulator is instantiated.");
DefaultLdapAuthoritiesPopulator populator = new DefaultLdapAuthoritiesPopulator(
initialDirContextFactory, groupSearchBase);
populator.setConvertToUpperCase(convertToUpperCase);