Skip to content

ARTEMIS-6380 Close connection on re-auth failure - #6941

Open
jbertram wants to merge 1 commit into
apache:mainfrom
jbertram:ARTEMIS-6380
Open

jbertram wants to merge 1 commit into
apache:mainfrom
jbertram:ARTEMIS-6380

Conversation

@jbertram

Copy link
Copy Markdown
Contributor

Authorization checks resolve the caller's identity from the authentication cache. When that cached entry expires the next such check re-authenticates the connection's credentials against the underlying security repository. Until now a failure at that point only denied the operation; the connection stayed open even though the broker could no longer establish that its credentials were still valid.

Such connections are now closed, so changing a password or removing a user takes effect on existing connections rather than only on new ones. Documented in the upgrade notes, including the caveats around repository outages and client reconnect defaults.

Authorization checks resolve the caller's identity from the
authentication cache. When that cached entry expires the next
such check re-authenticates the connection's credentials against
the underlying security repository. Until now a failure at that
point only denied the operation; the connection stayed open even
though the broker could no longer establish that its credentials
were still valid.

Such connections are now closed, so changing a password or
removing a user takes effect on existing connections rather than
only on new ones. Documented in the upgrade notes, including the
caveats around repository outages and client reconnect defaults.
@jbertram

Copy link
Copy Markdown
Contributor Author

The full test-suite looks good on this.

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.

1 participant