Commit 1146587e authored by Dave Cridland's avatar Dave Cridland Committed by GitHub

Merge pull request #721 from surevine/of1195

OF-1195 Correct SCRAM supported logic
parents a1978314 931e8b96
......@@ -546,7 +546,7 @@ public class SASLAuthentication {
break;
case "SCRAM-SHA-1":
if ( !AuthFactory.supportsPasswordRetrieval() && !AuthFactory.supportsScram() )
if ( !AuthFactory.supportsPasswordRetrieval() || !AuthFactory.supportsScram() )
{
Log.trace( "Cannot support '{}' as the AuthFactory that's in used does not support password retrieval nor SCRAM.", mechanism );
it.remove();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment