Thursday, October 15, 2015

OIM - Print All User Profile Attributes

There are other ways to get user profile attributes .Below is the quick way to get user profile attribute names and its values.
_oimClientAuthen is a OIM java client which you need write before invoking below code


    public void printAllUserAttributes() {
        UserManager umgr = _oimClientAuthen.getService(UserManager.class);
        User user;
        try {
            user = umgr.getDetails("User Login", "stalatam", null);
            HashMap mapAttrs = user.getAttributes();
            Iterator it = mapAttrs.entrySet().iterator();
            while (it.hasNext()) {
                Map.Entry pair = (Map.Entry)it.next();
                System.out.println(pair.getKey() + " = " + pair.getValue());
            }
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

Sunday, April 19, 2015

OIM 11gR2- oracle.iam.connectors.icfcommon.exceptions.IntegrationException: Connector ConnectorKey

All connector operation such as provisioning and reconciliation fails with following error

oracle.iam.connectors.icfcommon.exceptions.IntegrationException: Connector ConnectorKey;

Solution :
  1. If you are deploying your connectors in Connector server - Then stop the connector server
  2. Extract bundles in to bundles directory
  3. restart connector sever
  4. Run PurgeCache utilty on connector server
  5. Restart OIM server (This is very very important)