[
https://issues.apache.org/jira/browse/NIFI-1560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15268598#comment-15268598
]
ASF GitHub Bot commented on NIFI-1560:
--------------------------------------
Github user mcgilman commented on the pull request:
https://github.com/apache/nifi/pull/402#issuecomment-216508899
Thanks @devin-fisher ! I've merged this into both the master and 0.x
baseline. Just a heads, I noticed that the text of the message was also
incorrect so I amended your commit to include those changes too. Thanks again!
> Error message in LdapProvider is malformed
> ------------------------------------------
>
> Key: NIFI-1560
> URL: https://issues.apache.org/jira/browse/NIFI-1560
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Reporter: Devin Fisher
> Priority: Trivial
> Fix For: 1.0.0, 0.7.0
>
>
> 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)