Ah, a slightly different use-case for sure. I haven't tried it, but I would think I could do this in a filter. When the user should get banned, place a message onto say your JMS bus. The filter is subscribed to ban messages where the userid = the current userid. Now inside the filter I simply get a reference to the session and call session.invalidate().
A bit of theory but feasable, and would work not only for FDS calls, but any call from that client credential. -- Dave Wolf Cynergy Systems, Inc. Adobe Flex Alliance Partner http://www.cynergysystems.com http://www.cynergysystems.com/blogs Email: [EMAIL PROTECTED] Office: 866-CYNERGY --- In [email protected], "Tom Bray" <[EMAIL PROTECTED]> wrote: > > The most common reason we need to disconnect a client is because the user > has been banned from the chat by an administrator for behaving > inappropriately. We're an ASP that hosts chat and im apps and we let our > clients configure timeouts on a per-user basis. We have to have a way to > manage clients on the server like we do in FMS. > > -Tom > > On 7/22/06, Dave Wolf <[EMAIL PROTECTED]> wrote: > > > > <clueless insight> > > Placing a J2EE security constraint on the assets in FDS and then > > setting a timout on the J2EE session isnt sufficient? > > </clueless insight> > > > > -- > > Dave Wolf > > Cynergy Systems, Inc. > > Adobe Flex Alliance Partner > > http://www.cynergysystems.com > > http://www.cynergysystems.com/blogs > > > > Email: [EMAIL PROTECTED] <dave.wolf%40cynergysystems.com> > > Office: 866-CYNERGY > > --- In [email protected] <flexcoders%40yahoogroups.com>, > > "JesterXL" <jesterxl@> wrote: > > > > > > No good answers here Tom, but this page: > > > Current page: http://livedocs.macromedia.com/flex/2/docs/00001182.html > > > > > > Says to extend the ServiceAdapter. It apparently calls methods on a > > MessageService instance. If you look at MessageService, you'll see > > some familiar looking methods, but nothing to disconnect a client. > > > > > > Go here: > > > http://livedocs.macromedia.com/flex/2/fds2javadoc/ > > > > > > And then click on the last entry in the top left frame, and then in > > the bottom left frame, click on MessageService, and look at the methods. > > > > > > I, like you, have yet to see a comparable client management API like > > FMS, but I have a feeling I'm either "looking for the wrong thing" or > > "looking in the wrong place". > > > > > > Either way, post if you find anything. > > > > > > > > > ----- Original Message ----- > > > From: Tom Bray > > > To: [email protected] <flexcoders%40yahoogroups.com> > > > Sent: Saturday, July 22, 2006 5:32 PM > > > Subject: [flexcoders] I need to be able to disconnect a client from > > FDS on the server-side using the Java API. > > > > > > > > > We do this all the time with our FMS2 apps if a client is inactive > > for a certain period of time or an administrator wants to ban them. > > We can't trust the SWF because we've had people hack them. > > > > > > Thanks, > > > > > > Tom > > > > > > > > > > ------------------------ Yahoo! Groups Sponsor --------------------~--> Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM --------------------------------------------------------------------~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

