Commit 9ae8ae8c authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Fixed incorrect default value of client cert authentication policy.

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@9298 b35dd754-fafc-0310-a699-88a17e54d16e
parent 86439d30
......@@ -91,12 +91,9 @@ public class ClientStanzaHandler extends StanzaHandler {
}
void startTLS() throws Exception {
Connection.ClientAuth policy;
try {
policy =
Connection.ClientAuth.valueOf(JiveGlobals.getProperty("xmpp.client.cert.policy",
"required"));
policy = Connection.ClientAuth.valueOf(JiveGlobals.getProperty("xmpp.client.cert.policy", "disabled"));
} catch (IllegalArgumentException e) {
policy = Connection.ClientAuth.disabled;
}
......
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