Commit 3f2d7431 authored by Matt Tucker's avatar Matt Tucker Committed by matt

Code tweaks.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@6471 b35dd754-fafc-0310-a699-88a17e54d16e
parent 8a46e584
...@@ -54,7 +54,7 @@ import java.util.List; ...@@ -54,7 +54,7 @@ import java.util.List;
*/ */
public class IQAuthHandler extends IQHandler implements IQAuthInfo { public class IQAuthHandler extends IQHandler implements IQAuthInfo {
private static boolean anonymousAllowed; private boolean anonymousAllowed;
private Element probeResponse; private Element probeResponse;
private IQHandlerInfo info; private IQHandlerInfo info;
...@@ -79,7 +79,7 @@ public class IQAuthHandler extends IQHandler implements IQAuthInfo { ...@@ -79,7 +79,7 @@ public class IQAuthHandler extends IQHandler implements IQAuthInfo {
probeResponse.addElement("digest"); probeResponse.addElement("digest");
} }
probeResponse.addElement("resource"); probeResponse.addElement("resource");
anonymousAllowed = "true".equals(JiveGlobals.getProperty("xmpp.auth.anonymous")); anonymousAllowed = JiveGlobals.getBooleanProperty("xmpp.auth.anonymous");
} }
public IQ handleIQ(IQ packet) throws UnauthorizedException, PacketException { public IQ handleIQ(IQ packet) throws UnauthorizedException, PacketException {
......
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