jeanouii commented on PR #2606: URL: https://github.com/apache/activemq/pull/2606#issuecomment-7096342881
Saw your commit @cshannon 1. Agreed on the setClientId, this is what I had in mind (aka checking if value is different before calling set) 2. For JMX, calling ManagedTransportConnection.processRemoveConnection fixes the consequence, not the cause, authenticating twice. This doubles the load on the backend (LDAP, Database), audit trails would see 2 logins etc. Not a fan. There is a workaround maybe, with strict flag, the setClientId is anyways forbidden. Call ensureConnectionInfoSent instead of authenticate in the factory when adminConfiguredClientID is true. The clientId failure happens earlier than start(). Compromise. I think to implement this cleanly, we need another version of the protocol and I think Chris already did (or mentioned) a new version as part of another PR so we could group this one within the new version. ConnectionInfo could have a flag authenticate only, we authenticate and keep the security context to be reused when the ConnectionInfo arrives for the same user. No more JMX, advisories, etc For now, the probe would only remain when no clientID is configured, which is the TCK setClientID case. 4. XA Connections - I missed that but it's missing the strict mode yes -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information, visit: https://activemq.apache.org/contact
