IdentityIQ PAM(delimited Type) Application test connection failure

Hi @All,

Kindly help me here as I am getting test connection failure for PAM Application.

I have configured build map rule to manipulate the permissions associated with PAM coonector.

BuildMap Rule:

import java.util.*;
import sailpoint.object.Schema;
import sailpoint.connector.Connect; // retrieve account attributes as an Hash Map
HashMap map = DelimitedFileConnector.defaultBuildMap(cols, record);
String permission = (String)map.get(“Permission Rights”);

// Here we are using our permission model… Such as: right, write, execute, update on target.
if ( permission != null && permission.contains(“-”)) {
// We create an Arraylist bucket to populate all permission objects
List perms = new ArrayList();
String permissions = permission.split(“-”);
for ( int i = 0; permissions.length > i; i ++ ) {
String target = permissions[i].substring(0, permissions[i].indexOf(“:”));
String permission = permissions[i].substring(permissions[i].indexOf(“:”));
if ( permission.equals(“:YY”) ) {
// Foor;
import sailpoint.connector.DelimitedFileConnector;
// Importing the classes which allow us to create permissions
import sailpoint.object.Permission;

if ( schema.getObjectType().compareTo(Connector.TYPE_ACCOUNT) == 0) {
HashMap map = DelimitedFileConnector.defaultBuildMap(cols, record);
return map;
} else if ( schema.getObjectType().compareTo(Connector.TYPE_GROUP) == 0) {
// Calling the Connector tor each Permission we have to create a new object. Therefore the multiple new object declaration
Permission perm = new Permission();
perm.setRights(“update”);
perm.setTarget(target);
perms.add(perm);
Permission perm = new Permission();
perm.setRights(“create”);
perm.setTarget(target);
perms.add(perm);
} else {
Permission perm = new Permission();
perm.setRights(“execute”);
perm.setTarget(target);
perms.add(perm);
}
}
// We finished building our permissions and return the ArrayList object which represents a multi valued attribute of permissions
map.put(“directPermissions”, perms);
return map;
}
return map;
}
return map;

Hello @shivashankar_s1 Is this question repeated? :thinking:

1 Like

Yes looks like it is repeated @santhirajumunganda. @shivashankar_s1 follow the corrections suggested by @santhirajumunganda in your other post.

Hi @shivashankar_s1

Add this import in your rule

sailpoint.connector.DelimitedFileConnector

yes, import sailpoint.connector.DelimitedFileConnector; statement is missing for the rule. try adding the import statemen, it should work

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.