API AccountData.getData() Returns No Data in OIM 11.1.2.2 (Doc ID 1678887.1)

Last updated on JUNE 17, 2014

Applies to:

Identity Manager - Version 11.1.2.2.0 and later
Information in this document applies to any platform.

Goal

The code below is used to retrieve AD account data:

...
  accounts = provServ.getAccountsProvisionedToUser(userKey);
  logger.finest("getUsersToTheLookupTask -------> User details - userKey: " + userKey + " ,DisplayName: " + userDisplayName);
 
  Iterator it=accounts.iterator();
  while(it.hasNext()) {
  Account ad_account = (Account)it.next();
  if (ad_account.getAppInstance().getApplicationInstanceName().equalsIgnoreCase(appInstName) && ad_account.getAccountType().equals(Account.ACCOUNT_TYPE.Primary)) {
  logger.finest("getUsersToTheLookupTask -------> AppInstance ApplicationInstanceName: " + ad_account.getAppInstance().getApplicationInstanceName());
 
  AccountData accountdata = ad_account.getAccountData();
  Map<String, Object> accdata = accountdata.getData(); //THIS RETURN EMPTY Map<String,Object> !!! 
  ...
  }

...


The code works fine on OIM 11.1.2.1 , but,  on OIM 11.1.2.2, the Map<String, Object> accdata = accountdata.getData(); returns empty map only.
 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms