Fix longstanding annoyance with proxy subscriber access control checking. If
we're proxying for a client, we now have to give up our ClientObject to anyone who wants it, so that they can do access control checks. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5593 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -21,6 +21,8 @@
|
||||
|
||||
package com.threerings.presents.dobj;
|
||||
|
||||
import com.threerings.presents.data.ClientObject;
|
||||
|
||||
/**
|
||||
* Defines a special kind of subscriber that proxies events for a subordinate distributed object
|
||||
* manager. All events dispatched on objects with which this subscriber is registered are passed
|
||||
@@ -36,4 +38,9 @@ public interface ProxySubscriber extends Subscriber<DObject>
|
||||
* @param event The event that was dispatched on the object.
|
||||
*/
|
||||
void eventReceived (DEvent event);
|
||||
|
||||
/**
|
||||
* Returns the client object that represents the subscriber for whom we are proxying.
|
||||
*/
|
||||
ClientObject getClientObject ();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user