mirror of https://github.com/apache/nifi.git
parent
09cb608859
commit
06cb7cfc10
|
@ -38,8 +38,8 @@ public class ActiveDirectoryProvider extends AbstractLdapProvider {
|
||||||
final String domain = configurationContext.getProperty("Domain");
|
final String domain = configurationContext.getProperty("Domain");
|
||||||
final String userSearchBase = configurationContext.getProperty("User Search Base");
|
final String userSearchBase = configurationContext.getProperty("User Search Base");
|
||||||
|
|
||||||
final ActiveDirectoryLdapAuthenticationProvider activeDirectoryAuthenticationProvider =
|
final ActiveDirectoryLdapAuthenticationProvider activeDirectoryAuthenticationProvider
|
||||||
new ActiveDirectoryLdapAuthenticationProvider(StringUtils.isBlank(domain) ? null : domain, url, StringUtils.isBlank(userSearchBase) ? null : userSearchBase);
|
= new ActiveDirectoryLdapAuthenticationProvider(StringUtils.isBlank(domain) ? null : domain, url, StringUtils.isBlank(userSearchBase) ? null : userSearchBase);
|
||||||
|
|
||||||
final String userSearchFilter = configurationContext.getProperty("User Search Filter");
|
final String userSearchFilter = configurationContext.getProperty("User Search Filter");
|
||||||
if (StringUtils.isNotBlank(userSearchFilter)) {
|
if (StringUtils.isNotBlank(userSearchFilter)) {
|
||||||
|
|
Loading…
Reference in New Issue