Commit 17d50e8a authored by Dave Cridland's avatar Dave Cridland Committed by akrherz

OF-1195 Correct SCRAM supported logic

parent 166b17c3
...@@ -550,7 +550,7 @@ public class SASLAuthentication { ...@@ -550,7 +550,7 @@ public class SASLAuthentication {
break; break;
case "SCRAM-SHA-1": 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 ); Log.trace( "Cannot support '{}' as the AuthFactory that's in used does not support password retrieval nor SCRAM.", mechanism );
it.remove(); 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