From 06cb7cfc108fd7809e17d8b627fd680836f42ac7 Mon Sep 17 00:00:00 2001 From: Matt Gilman Date: Thu, 12 Nov 2015 21:48:58 -0500 Subject: [PATCH] NIFI-655: - Fixing checkstyle issues. --- .../org/apache/nifi/ldap/ActiveDirectoryProvider.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/nifi-nar-bundles/nifi-ldap-iaa-providers-bundle/nifi-ldap-iaa-providers/src/main/java/org/apache/nifi/ldap/ActiveDirectoryProvider.java b/nifi-nar-bundles/nifi-ldap-iaa-providers-bundle/nifi-ldap-iaa-providers/src/main/java/org/apache/nifi/ldap/ActiveDirectoryProvider.java index 8397f16713..e43c1eed14 100644 --- a/nifi-nar-bundles/nifi-ldap-iaa-providers-bundle/nifi-ldap-iaa-providers/src/main/java/org/apache/nifi/ldap/ActiveDirectoryProvider.java +++ b/nifi-nar-bundles/nifi-ldap-iaa-providers-bundle/nifi-ldap-iaa-providers/src/main/java/org/apache/nifi/ldap/ActiveDirectoryProvider.java @@ -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; } }