-
Notifications
You must be signed in to change notification settings - Fork 154
Feat[BMQ]: Add authentication on SDK #859
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
Open
emelialei88
wants to merge
20
commits into
bloomberg:integration/authn-authz
Choose a base branch
from
emelialei88:feat/authn-sdk
base: integration/authn-authz
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Feat[BMQ]: Add authentication on SDK #859
emelialei88
wants to merge
20
commits into
bloomberg:integration/authn-authz
from
emelialei88:feat/authn-sdk
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fbfddab
to
74dd1ce
Compare
b485062
to
11e680d
Compare
74dd1ce
to
4ea79d6
Compare
eff6740
to
a371191
Compare
96e094a
to
ebc8cbd
Compare
744c51f
to
55ae385
Compare
55ae385
to
a69c9ed
Compare
71de0e5
to
ba96877
Compare
a69c9ed
to
dfc0672
Compare
fe3f1cc
to
fa20273
Compare
dfc0672
to
7eb72db
Compare
fa20273
to
7f002f5
Compare
7eb72db
to
cd85bdd
Compare
7f002f5
to
283f771
Compare
cd85bdd
to
3203266
Compare
Signed-off-by: Emelia Lei <[email protected]>
Signed-off-by: Emelia Lei <[email protected]>
Signed-off-by: Emelia Lei <[email protected]>
3203266
to
b3ab443
Compare
Signed-off-by: Emelia Lei <[email protected]>
Signed-off-by: Emelia Lei <[email protected]>
Signed-off-by: Emelia Lei <[email protected]>
Signed-off-by: Emelia Lei <[email protected]>
Signed-off-by: Emelia Lei <[email protected]>
Signed-off-by: Emelia Lei <[email protected]>
Signed-off-by: Emelia Lei <[email protected]>
Signed-off-by: Emelia Lei <[email protected]>
Signed-off-by: Emelia Lei <[email protected]>
Signed-off-by: Emelia Lei <[email protected]>
a0e1173
to
27016e3
Compare
Signed-off-by: Emelia Lei <[email protected]>
Signed-off-by: Emelia Lei <[email protected]>
Signed-off-by: Emelia Lei <[email protected]>
Signed-off-by: Emelia Lei <[email protected]>
Signed-off-by: Emelia Lei <[email protected]>
Signed-off-by: Emelia Lei <[email protected]>
27016e3
to
3c18c8d
Compare
Signed-off-by: Emelia Lei <[email protected]>
b3ab443
to
850d3d4
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR introduces optional client authentication (and scheduled re‑authentication) into the BlazingMQ SDK by inserting an
AuthenticatedChannelFactory
layer between the existing stat and negotiated channel factories. When a TCP channel reachese_CHANNEL_UP
, the factory performs an authentication exchange before exposing the channel to higher layers. If the broker’s response provides a lifetime, a re‑authentication timer is scheduled; it is cancelled automatically on channel loss and re-established after reconnect.Key Points
AuthenticatedChannelFactory
to run an auth handshake transparently after connection.SessionOptions::setAuthnCredentialCb
.Example