You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Devin Fisher (JIRA)" <ji...@apache.org> on 2016/02/23 22:59:18 UTC
[jira] [Created] (NIFI-1560) Error message in LdapProvider is
malformed
Devin Fisher created NIFI-1560:
----------------------------------
Summary: Error message in LdapProvider is malformed
Key: NIFI-1560
URL: https://issues.apache.org/jira/browse/NIFI-1560
Project: Apache NiFi
Issue Type: Bug
Reporter: Devin Fisher
Priority: Trivial
The error message for a bad ReferralStrategy uses the variable rawAuthenticationStrategy instead of rawReferralStrategy. Looks like it is a simple copy and paste issue.
final ReferralStrategy referralStrategy;
try {
referralStrategy = ReferralStrategy.valueOf(rawReferralStrategy);
} catch (final IllegalArgumentException iae) {
throw new ProviderCreationException(String.format("Unrecgonized authentication strategy '%s'. Possible values are [%s]",
**rawAuthenticationStrategy**, StringUtils.join(ReferralStrategy.values(), ", ")));
}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)