Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[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 d36ab0a
Showing 1 changed file with 0 additions and 3 deletions.
Expand Up @@ -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();
Expand Down

0 comments on commit d36ab0a

Please sign in to comment.