I’'m looking to make a code change to allow the GroupProvider implementations (in my case, JDBCGroupProvider) to determine roster sharing information.
The use case is when using JDBCGroupProvider to populate the groups. Currently, the groups will import as sharing enabled, but with no contact list group name. This prevents the rosters from auto-populating in Spark and XIFF. If you put any contact list group name in and save it, the rosters show up on the clients.
I’‘m looking for suggestions about how to best do this. Perhaps there is even an option for this already that I’'m unaware of.
My initial ideas were:
Delegate to a GroupProvider.loadProperties method.
Put a setting openfire.xml to make all groups shared by default, with a contact list group name equal to the group name.
I assume there is no existing functionality for #2?