Which IIQ version are you inquiring about?
8.4 (upgrading from 8.2)
Share all details about your problem, including any error messages you may have received.
We are in the process of replacing any detracted methods from version 8.2 to upgrade to 8.4. When doing this the javadoc has became unclear at times. There are two classes that I have questions about and hoping I can get more information on.
- sailpoint.object.Bundle.add(Bundle)
Note regarding this method we received but do not see this in the docs (Now that there is more than one bundle list these older accessors are discouraged.)
Below code is currently what needs to be replaced
Bundle role = new Bundle();
Profile profile = new Profile();
role.add(profile);
In the new bundle class in 8.4 I do not see any method .add(). So in this case how can a Profile be added to a Bundle?
- sailpoint.object.Identity.getLinks(Application)
Note regarding this method as it is not deprecated: This method might not perform well when identities have large numbers of links. Use IdentityService.getLinks(Identity, Application) instead.
Below code is currently what needs to be replaced
(identityName is a String being passed as a parameter in the function where below code in being implemented)
Identity identity = context.getObjectByName(Identity.class, identityName);
List links = identity.getLinks();
How can we use the IdentityService.getLinks(Identity, Application) without knowing the application as the logic will be iterating through all the users links to determine provisioning of any roles.
Thank you in advance for any help!