powered by Jive Software

Making room membership based upon group membership

Does anyone have any suggestions on how we might make room membership based upon group membership and not based upon manual membership lists that need to be set up manually?

I.e. room behaves as a membership only room and membership is defered to membership of a group.

Thanks!

John

Hi John,

I suggest that you create a plugin that implements PluginInterceptor, which will intercept packets to MUC rooms. The plugin should manage a table in your database that contains room-group map. Amongst other API, you might need for your purpose are in org.jivesoftware.openfire.group package.