Skip to content

Conversation

@Dm-Chebotarskyi
Copy link
Contributor

Description

Re-using LDAP context for authentication. The context is created only once and re-used each time ActiveMQ server established connection with ActiveMQ clients.
Refactoring some code in LDAPLoginModule.java
This PR is based on fix introduced to Artemis: apache/artemis@f3a8619#diff-706fd9b54d2aed5a0ea5d28fa7c70f7ee733672f7e91d847137517e3b147d716

Testing

Manual test authentication using LDAP

Issue

https://issues.apache.org/jira/browse/AMQ-6148

@mattrpav mattrpav self-requested a review August 22, 2022 23:03
@mattrpav
Copy link
Contributor

mattrpav commented Aug 22, 2022

Please rebase, and take a look at the comments about moving some clean-up tasks to finally {} blocks instead to prevent leaks or deadlock.

@mattrpav mattrpav self-assigned this Aug 22, 2022
@Dm-Chebotarskyi
Copy link
Contributor Author

Please rebase, and take a look at the comments about moving some clean-up tasks to finally {} blocks instead to prevent leaks or deadlock.

Hey Matt, thanks for the quick review.
Could you please clarify what comments do you mean? I can't see any comments in the CR nor in the rebased code itself.

@jbonofre jbonofre self-requested a review August 24, 2022 07:53
@Dm-Chebotarskyi Dm-Chebotarskyi requested review from mattrpav and removed request for jbonofre September 6, 2022 19:19
@jbonofre jbonofre self-requested a review October 13, 2022 03:59
Copy link
Member

@jbonofre jbonofre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks !

@jbonofre
Copy link
Member

@Dm-Chebotarskyi do you mind to squash the 9 commits in one and rebase ? If you prefer, I can do it myself and manually merge. Thoughts ?

@Dm-Chebotarskyi
Copy link
Contributor Author

Thanks for the review @jbonofre .
I will squash and update the PR shortly

@jbonofre
Copy link
Member

@Dm-Chebotarskyi awesome ! Thank you so much ! Let me know if I can help on anything.

@jbonofre jbonofre merged commit e2fcae8 into apache:main Oct 19, 2022
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.

3 participants