Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update login_identity_providers.xml template for 2.0.0-M1 #354

Merged
merged 2 commits into from
Jan 11, 2024

Conversation

juldrixx
Copy link
Contributor

@juldrixx juldrixx commented Jan 11, 2024

Q A
Bug fix? no
New feature? no
API breaks? no
Deprecations? no
Related tickets partial #360
License Apache 2.0

What's in this PR?

Update of the login_identity_providers.xml template, to match the one in 2.0.0-M1.
Changed:

<property name="Identity Strategy">{{.LdapConfiguration.IdentityStrategy}}</property>
<property name="Identity Strategy">{{or .LdapConfiguration.IdentityStrategy "USE_DN"}}</property>

to

<property name="Identity Strategy">{{or .LdapConfiguration.IdentityStrategy "USE_DN"}}</property>

Why?

<property name="Identity Strategy">{{.LdapConfiguration.IdentityStrategy}}</property> removed because it doesn't make sense to have it when you have <property name="Identity Strategy">{{or .LdapConfiguration.IdentityStrategy "USE_DN"}}</property>. Because if .LdapConfiguration.IdentityStrategy is empty, you will have USE_DN otherwise you will have the value of .LdapConfiguration.IdentityStrategy.

Checklist

  • Implementation tested
  • Error handling code meets the guideline
  • Logging code meets the guideline
  • User guide and development docs updated (if needed)
  • Append changelog with changes

@juldrixx juldrixx merged commit 4a0da17 into master Jan 11, 2024
5 checks passed
@juldrixx
Copy link
Contributor Author

This PR can me merged no impact for older version of NiFi.

@juldrixx juldrixx deleted the update_login_identity_providers_xml branch May 17, 2024 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants