-
Notifications
You must be signed in to change notification settings - Fork 281
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
Log deprecation message on legacy ldap pool settings #2099
Conversation
Signed-off-by: Peter Nied <[email protected]>
Codecov Report
@@ Coverage Diff @@
## main #2099 +/- ##
============================================
- Coverage 61.06% 61.04% -0.02%
- Complexity 3231 3234 +3
============================================
Files 256 257 +1
Lines 18077 18110 +33
Branches 3224 3229 +5
============================================
+ Hits 11039 11056 +17
- Misses 5464 5472 +8
- Partials 1574 1582 +8
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
src/main/java/com/amazon/dlic/auth/ldap2/LDAPConnectionFactoryFactory.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Peter Nied <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @peternied! Can you link to the addition issue resolved by this PR (#2059) in the PR description? 🎸
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ty Peter. I will approve once the CI passes.
* Modifications Copyright OpenSearch Contributors. See | ||
* GitHub history for details. | ||
*/ | ||
package org.opensearch.security.setting; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
621020f
to
c15c093
Compare
Signed-off-by: Peter Nied <[email protected]>
c15c093
to
364235e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the momentarily disappearing changes, everything has been restored, all is well
@peternied Please resolve the unused import CI failure. This looks good to me. I will approve again once CI is passing. |
Signed-off-by: Peter Nied <[email protected]>
Signed-off-by: Peter Nied <[email protected]>
@opensearch-project/security Could I get another review? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ty @peternied for this! I have added a couple comments requesting small changes. I will approve once those are addressed.
src/main/java/com/amazon/dlic/auth/ldap2/LDAPConnectionFactoryFactory.java
Show resolved
Hide resolved
src/main/java/com/amazon/dlic/auth/ldap2/LDAPConnectionFactoryFactory.java
Outdated
Show resolved
Hide resolved
src/test/java/org/opensearch/security/setting/DeprecatedSettingsTest.java
Show resolved
Hide resolved
Signed-off-by: Peter Nied <[email protected]>
* Log deprecation message on legacy ldap pool settings Signed-off-by: Peter Nied <[email protected]> Signed-off-by: Peter Nied <[email protected]> Co-authored-by: Martin Kemp <[email protected]> (cherry picked from commit e5ab646)
* Log deprecation message on legacy ldap pool settings Signed-off-by: Peter Nied <[email protected]> Signed-off-by: Peter Nied <[email protected]> Co-authored-by: Martin Kemp <[email protected]> (cherry picked from commit e5ab646)
…ect#2099) * Log deprecation message on legacy ldap pool settings Signed-off-by: Peter Nied <[email protected]> Signed-off-by: Peter Nied <[email protected]> Co-authored-by: Martin Kemp <[email protected]> Signed-off-by: Stephen Crawford <[email protected]>
…ect#2099) (opensearch-project#2147) * Log deprecation message on legacy ldap pool settings Signed-off-by: Peter Nied <[email protected]> Signed-off-by: Peter Nied <[email protected]> Co-authored-by: Martin Kemp <[email protected]> (cherry picked from commit e5ab646)
Description
Log deprecation message on legacy ldap pool settings
Following up on comment #2091 (review) from a contribution by @Martin-Kemp
Issues
Testing
Manually tested - adding deprecation check involves migrating these tests to OpenSearchTestCase, far outside the scope of the existing security testing infrastructure, created #2098
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.