...
For each type of password file a PrincipalDatabase exists that parses the contents. These PrincipalDatabases load various SASL mechanism based on their supportability. e.g. the Base64MD5 file format can't support Plain authentication as the plain password is not available. Any client connecting need only be concerned about the SASL module they support and not the type of PrincipalDatabase. So I client that understands CRAM-MD5 will work correctly with a Plain and Base64MD5 PrincipalDatabase.
FileFormat/PrincipalDatabase | SASL |
---|---|
Plain | AMQPLAIN PLAIN CRAM-MD5 |
Base64MD5 | CRAM-MD5 CRAM-MD5-HASHED |
...