No longer need authinfo.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1087 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: AuthResponse.java,v 1.10 2001/12/03 22:01:57 mdb Exp $
|
// $Id: AuthResponse.java,v 1.11 2002/03/05 05:39:52 mdb Exp $
|
||||||
|
|
||||||
package com.threerings.presents.net;
|
package com.threerings.presents.net;
|
||||||
|
|
||||||
@@ -42,27 +42,6 @@ public class AuthResponse extends DownstreamMessage
|
|||||||
return _data;
|
return _data;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* The authenticator can stuff information into the auth response that
|
|
||||||
* will be made available to the client management code on the server
|
|
||||||
* after the authentication process has completed. This is provided
|
|
||||||
* because the authenticator will likely end up doing things like
|
|
||||||
* loading information from a database which it will want to pass
|
|
||||||
* along to the running system once authentication is complete.
|
|
||||||
*/
|
|
||||||
public void setAuthInfo (Object authInfo)
|
|
||||||
{
|
|
||||||
_authInfo = authInfo;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns the auth info provided by the authenticator implementation.
|
|
||||||
*/
|
|
||||||
public Object getAuthInfo ()
|
|
||||||
{
|
|
||||||
return _authInfo;
|
|
||||||
}
|
|
||||||
|
|
||||||
public short getType ()
|
public short getType ()
|
||||||
{
|
{
|
||||||
return TYPE;
|
return TYPE;
|
||||||
@@ -88,7 +67,4 @@ public class AuthResponse extends DownstreamMessage
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected AuthResponseData _data;
|
protected AuthResponseData _data;
|
||||||
|
|
||||||
/** Stores auth info provided by the authenticator. */
|
|
||||||
protected Object _authInfo;
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user