powered by Jive Software

Transport permissions by user account

Does anyone know if you can setup or develop some sort of plugin to restrict user access to transports?

Steve

Hi Steve,

Sure, that would be fairly straightforward to do. There’‘s a couple of approaches you could take but I’‘d probably lean towards using a url=http://www.jivesoftware.org/builds/messenger/docs/latest/documentation/javad oc/org/jivesoftware/messenger/interceptor/PacketInterceptor.htmlPacketInterceptor[/url] to alter any sort of disco#items query from specified user so they can’'t discover that the transport even exists. A good starting place for doing something like this would be to look at the source of the contentFilter plugin, since it is currently the only plugin (I think) that uses a PacketInterceptor.

Thanks,

Ryan

Ok…I’'ll take a look at the contentfilter plug in and keep you guys up to date on my results. Thanks for the suggestion.