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:
@@ -120,7 +120,7 @@ public class PresentsServer
|
||||
|
||||
// create our connection manager
|
||||
conmgr = new ConnectionManager(getListenPorts());
|
||||
conmgr.setAuthenticator(new DummyAuthenticator());
|
||||
conmgr.setAuthenticator(createAuthenticator());
|
||||
|
||||
// create our client manager
|
||||
clmgr = createClientManager(conmgr);
|
||||
@@ -139,6 +139,14 @@ public class PresentsServer
|
||||
}.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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user