On 08/01/07, Tomas Restrepo <[EMAIL PROTECTED]> wrote:
If no one else is working on it, and it's something that would be useful, I'd like to tackle this. It seems to me this is what is needed:
This sounds great to me.
- Implement the AMQPLAIN client mechanism like in the java broker/client
This is not actually required. It exists only for historical reasons and should really be removed from the java codebase.
- Implement a callback handler (or whatever mechanism needed) to pass the username/password configured in the protocol session to the SASL client as needed. - Hook the sasl client library into the protocol session (AMQProtocolSession) - Hook the authentication into the ConnectionStartMethodHandler and ConnectionSecureMethodHandler classes as needed. Anything else I'm missing?
Looks right to me.
Regarding the first step, there's no built-in SASL support in .net that I'm aware of, so this would mean either creating a simple implementation as part of the project or use an existing one from another open source project (any ideas?).
I couldn't find any SASL implementation for .NET either. You could maybe take a look at the SASL implementation in the JDK source? RG
