Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Old package or Service

Replacement

Example usage old

Example usage New

What you need

 

 

 

 

 

org.jasig.portal.groups.IEntityGroup

org.jasig.gap.groups.IEntityGroup

 

 

gap-full.jar

org.jasig.portal.groups.IGroupMember

org.jasig.gap.groups.IGroupMember

 

 

gap-full.jar

org.jasig.portal.services.AuthorizationService

org.jasig.gap.permissions.IAuthorizationService;

IGroupMember me = AuthorizationService.instance()
                        .getGroupMember(
                                ws.getStaticData().getAuthorizationPrincipal());

IAuthorizationPrincipal authPrinc = groupsManagerBean.getAuthorizationService().newPrincipal(groupsManagerBean.getUserController().getUser().getUserName(), IUserId.class);

 

 

 

                  IGroupMember me = groupsManagerBean.getAuthorizationService().getGroupMember(authPrinc);

 

org.jasig.portal.services.GroupService;

org.jasig.gap.groups.ICompositeGroupService;

IEntityGroup admin = GroupService                       .getDistinguishedGroup(GroupService.PORTAL_ADMINISTRATORS);

IEntityGroup admin = groupsManagerBean.getCompositeGroupService().getDistinguishedGroup(IDistinguishedGroupConstants.PORTAL_ADMINISTRATORS);

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Announcements (both versions)

...