Pass the authdata returned by the Authenticator into the ClientResolver.
This is actually kind of sketchy, because the resolver can't depend on it because there are methods to resolve a client object without having an authenticated connection. For now, I'll leave this in. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4350 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -266,7 +266,7 @@ public class PresentsClient
|
||||
};
|
||||
|
||||
// resolve the new client object
|
||||
_cmgr.resolveClientObject(username, clr);
|
||||
_cmgr.resolveClientObject(username, _authdata, clr);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -312,7 +312,7 @@ public class PresentsClient
|
||||
assignStartingUsername();
|
||||
|
||||
// resolve our client object before we get fully underway
|
||||
cmgr.resolveClientObject(_username, this);
|
||||
cmgr.resolveClientObject(_username, authdata, this);
|
||||
|
||||
// make a note of our session start time
|
||||
_sessionStamp = System.currentTimeMillis();
|
||||
|
||||
Reference in New Issue
Block a user