...
- org.jasig.portal.channels.webmail.security.IOpaqueCredentials is referenced from UBC webmail code. This interface stores password or passphrase information for authentication. We need some replacement for this. Currently(up3-rc1) uP3 does not provide a way to store credentials. This might be an important requirement for multiserver authentication. The related classes in UBC webmail are CachedMultiServerAuthentication, CachedCredentialsAuthentication etc.
- In RUTGERS sepcific case we need to get the location of the user since we have three main campuses located physically far from each other. The PersonImpl is used to get the location of the user that gets populated from the ldap.
- PortalControlStructures is referenced. This object is passed to special channels.
- PortalSessionManager e.g. PortalSessionManager.IDEMPOTENT_URL_TAG
- org.jasig.portal.utils.XML e.g. XML.serializeNode(doc);
- org.jasig.portal.services.GroupService
- AuthorizationService e.g. IGroupMember me = AuthorizationService.instance()
.getGroupMember(
ws.getStaticData().getAuthorizationPrincipal());
Replacements:
Refactor your code to use following replacement
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() | IAuthorizationPrincipal authPrinc = groupsManagerBean.getAuthorizationService().newPrincipal(groupsManagerBean.getUserController().getUser().getUserName(), IUserId.class); |
|
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)
...
- org.jasig.portal.channels.AbstractMultiThreadedCacheable;
- org.jasig.portal.security.IPerson;
- org.jasig.portal.security.provider.PersonImpl;
org.jasig.portal.IBasicEntity:
This interface is refactored to gap project. In uP2 code base this interface is referenced in lot of places such as IEntityCache, ChannelDefinition, EntityIdentifier, Entity types,
Compiliation Errors because of some missing jars
...