Adding an Advisor to AuthzGroupService for those interested in picking up changes to AuthzGroup's.
Specifically adding the following three types of updates:
- Called when a AuthzGroup is about to be saved
- @param group The AuthzGroup being saved
public void update(AuthzGroup group);
- Called when a AuthzGroup group update is about to occur.
- Specifically addMemberToGroup and removeMemberFromGroup
- @param group The AuthzGroup group being updated
- @param userId The id of the user being added or removed
- @param roleId The id of the users role
public void groupUpdate(AuthzGroup group, String userId, String roleId);
- Called when a AuthzGroup is about to be removed
- @param group The AuthzGroup being deleted
public void remove(AuthzGroup group);