Commit 0a0ffb51 authored by Guus der Kinderen's avatar Guus der Kinderen

OF-1123: GSSAPI available by default.

The GSSAPI SASL mechanism can be enabled by default. It won't be offered
unless there is a specific gssapi-configuration option present.
parent a3db21a6
...@@ -575,7 +575,7 @@ public class SASLAuthentication { ...@@ -575,7 +575,7 @@ public class SASLAuthentication {
JiveGlobals.migrateProperty("sasl.gssapi.config"); JiveGlobals.migrateProperty("sasl.gssapi.config");
JiveGlobals.migrateProperty("sasl.gssapi.useSubjectCredsOnly"); JiveGlobals.migrateProperty("sasl.gssapi.useSubjectCredsOnly");
final String configuration = JiveGlobals.getProperty("sasl.mechs", "ANONYMOUS,PLAIN,DIGEST-MD5,CRAM-MD5,SCRAM-SHA-1,JIVE-SHAREDSECRET" ); final String configuration = JiveGlobals.getProperty("sasl.mechs", "ANONYMOUS,PLAIN,DIGEST-MD5,CRAM-MD5,SCRAM-SHA-1,JIVE-SHAREDSECRET,GSSAPI" );
final StringTokenizer st = new StringTokenizer(configuration, " ,\t\n\r\f"); final StringTokenizer st = new StringTokenizer(configuration, " ,\t\n\r\f");
while ( st.hasMoreTokens() ) while ( st.hasMoreTokens() )
{ {
......
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