NIFI-655:

- Fixing checkstyle issues.
This commit is contained in:
Matt Gilman 2015-11-12 21:48:58 -05:00
parent 09cb608859
commit 06cb7cfc10
1 changed files with 5 additions and 5 deletions

View File

@ -37,15 +37,15 @@ public class ActiveDirectoryProvider extends AbstractLdapProvider {
final String domain = configurationContext.getProperty("Domain");
final String userSearchBase = configurationContext.getProperty("User Search Base");
final ActiveDirectoryLdapAuthenticationProvider activeDirectoryAuthenticationProvider =
new ActiveDirectoryLdapAuthenticationProvider(StringUtils.isBlank(domain) ? null : domain, url, StringUtils.isBlank(userSearchBase) ? null : userSearchBase);
final ActiveDirectoryLdapAuthenticationProvider activeDirectoryAuthenticationProvider
= new ActiveDirectoryLdapAuthenticationProvider(StringUtils.isBlank(domain) ? null : domain, url, StringUtils.isBlank(userSearchBase) ? null : userSearchBase);
final String userSearchFilter = configurationContext.getProperty("User Search Filter");
if (StringUtils.isNotBlank(userSearchFilter)) {
activeDirectoryAuthenticationProvider.setSearchFilter(userSearchFilter);
}
return activeDirectoryAuthenticationProvider;
}
}