Skip to content

Commit

Permalink
Add EXTERNAL to the list of default SASL mechanisms
Browse files Browse the repository at this point in the history
Without this change, EXTERNAL is never offered by default.
  • Loading branch information
Dave Cridland committed Aug 16, 2016
1 parent b662b0b commit 0400879
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ public static Set<String> getImplementedMechanisms()
private static void initMechanisms()
{

final String configuration = JiveGlobals.getProperty("sasl.mechs", "ANONYMOUS,PLAIN,DIGEST-MD5,CRAM-MD5,SCRAM-SHA-1,JIVE-SHAREDSECRET,GSSAPI" );
final String configuration = JiveGlobals.getProperty("sasl.mechs", "ANONYMOUS,PLAIN,DIGEST-MD5,CRAM-MD5,SCRAM-SHA-1,JIVE-SHAREDSECRET,GSSAPI,EXTERNAL" );
final StringTokenizer st = new StringTokenizer(configuration, " ,\t\n\r\f");
mechanisms = new HashSet<>();
while ( st.hasMoreTokens() )
Expand Down

0 comments on commit 0400879

Please sign in to comment.