I am trying to write a customer specific plugin to set home pages for users depending on the groups they are in. My approach is that
1 - Get list of groups
2 - Get list of users in each group
3 - Set home page for each user of every group.
I have been successful step 1 and 2 but not able to acheieve thrid. This is what I am doing for it
UserAccessor userAccessor = (UserAccessor)ContainerManager.getInstance().getContainerContext().getComponent("userAccessor");
private UserSettingsServiceuserSettingsService = new ConfluenceUserSettingsService(userAccessor);
But I get an exection that no class defenition was found for ConfluenceUserSettingsService. Whereas the class is very much in the buildpath of the project and cimpiles fine
If Has anyone done anything such please let me know. Any approach is fine, be it a plugin or code change.