Allow the authenticator to slip some authentication data down the line to

the PresentsClient which can then use it to fill in things like access
control information for the user. We could use this to replace the
UserStash mechanism we use on Yohoho, but that works so I doubt I'll do
that. However, this is needed to do things the more elegant way on future
projects, like Game Gardens.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3374 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2005-03-02 03:08:23 +00:00
parent 40eb978a96
commit 713e76373b
3 changed files with 12 additions and 3 deletions
@@ -297,7 +297,7 @@ public class ClientManager
try {
// create a client and start up its session
client = (PresentsClient)_clientClass.newInstance();
client.startSession(this, creds, conn);
client.startSession(this, creds, conn, rsp.authdata);
// map their client instance
_usermap.put(username, client);