Revision: 436 http://skycastle.svn.sourceforge.net/skycastle/?rev=436&view=rev Author: zzorn Date: 2008-04-03 14:31:48 -0700 (Thu, 03 Apr 2008) Log Message: ----------- SGS should do authentication, so changed the code to reflect that Modified Paths: -------------- trunk/skycastle/modules/server/src/main/java/org/skycastle/server/SkycastleClientSessionHandler.java Modified: trunk/skycastle/modules/server/src/main/java/org/skycastle/server/SkycastleClientSessionHandler.java =================================================================== --- trunk/skycastle/modules/server/src/main/java/org/skycastle/server/SkycastleClientSessionHandler.java 2008-04-03 21:13:21 UTC (rev 435) +++ trunk/skycastle/modules/server/src/main/java/org/skycastle/server/SkycastleClientSessionHandler.java 2008-04-03 21:31:48 UTC (rev 436) @@ -95,8 +95,8 @@ // Get users account. The account will typically contain actions for resuming some existing avatars // or creating new avatars, and doing general account management and maybe out-of-game chat. - // TODO: If the ClientSession is already authenticated, we can find the current account for the client, - // otherwise we need to add authentication before or during or after protocol negotiation + + // NOTE: The client session should already be authenticated, so just use the username to find the account GameObject clientAccount = dataManager.getBinding( "account_" + clientSession.getName(), GameObject.class ); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.