Changed the way the Authenticator is created.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4204 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2006-06-21 03:47:32 +00:00
parent 8093513183
commit aa5f38be5d
@@ -120,7 +120,7 @@ public class PresentsServer
// create our connection manager // create our connection manager
conmgr = new ConnectionManager(getListenPorts()); conmgr = new ConnectionManager(getListenPorts());
conmgr.setAuthenticator(new DummyAuthenticator()); conmgr.setAuthenticator(createAuthenticator());
// create our client manager // create our client manager
clmgr = createClientManager(conmgr); clmgr = createClientManager(conmgr);
@@ -139,6 +139,14 @@ public class PresentsServer
}.schedule(REPORT_INTERVAL, true); }.schedule(REPORT_INTERVAL, true);
} }
/**
* Creates the client Authenticator to be used on this server.
*/
protected Authenticator createAuthenticator ()
{
return new DummyAuthenticator();
}
/** /**
* Creates the client manager to be used on this server. * Creates the client manager to be used on this server.
*/ */