Commit 931e8b96 authored by Dave Cridland's avatar Dave Cridland

OF-1195 Correct SCRAM supported logic

parent c04203ef
...@@ -547,7 +547,7 @@ public class SASLAuthentication { ...@@ -547,7 +547,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