Rework LdapClient to Align with JdbcClient API#1446
Rework LdapClient to Align with JdbcClient API#1446jzheaux merged 2 commits intospring-projects:mainfrom
Conversation
Closes: spring-projectsgh-1404 Signed-off-by: Andrey Litvitski <andrey1010102008@gmail.com>
jzheaux
left a comment
There was a problem hiding this comment.
Looking good so far, @therepanic! If you feel good about it, let's go ahead and proceed with testing and with updating the documentation.
I believe we can't simply hide the same logic in What default implementation would we like to see for these methods? |
|
I see, @therepanic. Have you considered creating |
|
Hi, @therepanic, does my last comment help you find a direction to take the PR? I can also push a commit that you can work into the PR as you see fit, in case that helps. |
Issue spring-projectsgh-1404 Signed-off-by: Josh Cummings <3627351+jzheaux@users.noreply.github.com>
|
@therepanic, I went ahead and pushed a suggestion along with updates to documentation and tests. I propose that we throw an Do you have any concerns with this approach? I'm confident enough in it that I'll merge it later this week if I don't hear from you, so don't feel obligated to respond. 👍 |
|
Hi, @jzheaux. I'm really sorry, I had some issues that kept me from figuring this out. I took a look at your changes in polish commit and I think this is exactly what's needed. You've also updated the documentation and tests, so I think it looks ready for merge. After the merge and version update, we'll be able to update the implementation directly in all projects that use this API. Specifically, I've decided to monitor this issue within Spring Security itself, which is where the idea for these changes came from. |
|
@therepanic, it's not a problem at all. I found some time this week and that increased the changes of this going into 4.1, so it's a win-win. |
This commit added the single, optional, list, and stream methods to the
LdapClient#SearchSpecand deprecated the implementations that will be deprecated by this change.Please note that this is a WIP: I have a couple of comments that would be helpful to address.
Closes: gh-1404