Skip to content
Permalink
Browse files
[JENKINS-40599] Not throw any Exception in case there is not any doma…
…in configured on the descriptor
  • Loading branch information
fbelzunc committed Dec 21, 2016
1 parent 5fc2a72 commit d36ab0a200ec12b8213fc439819aa10db751a13c
Showing 1 changed file with 0 additions and 3 deletions.
@@ -126,9 +126,6 @@ public class ActiveDirectoryUnixAuthenticationProvider extends AbstractActiveDir
private final static String LDAP_READ_TIMEOUT = "com.sun.jndi.ldap.read.timeout";

public ActiveDirectoryUnixAuthenticationProvider(ActiveDirectorySecurityRealm realm) {
if (realm.domains==null) {
throw new IllegalArgumentException("An Active Directory domain name is required but it is not set");
}
this.site = realm.site;
this.domains = realm.domains;
this.groupLookupStrategy = realm.getGroupLookupStrategy();

0 comments on commit d36ab0a

Please sign in to comment.