I have wrote the script for Business process Joiner: It does not defines The password. afte Adding a person and Trigeering the Joiner Event I get the Form to Approve Provisions in AD , tHere only i am setting up the password as a Mix of diff character, numbers, upper and lower case chars too.
here is the script:
import sailpoint.object.Identity;
import sailpoint.object.ProvisioningPlan;
import sailpoint.object.ProvisioningPlan.AccountRequest;
import sailpoint.object.ProvisioningPlan.AttributeRequest;
import java.util.List;
import java.util.ArrayList;
ProvisioningPlan provPlan = new ProvisioningPlan();
Identity userIdentity = context.getObjectByName(Identity.class, identityName);
List accountRequestsList = new ArrayList();
AccountRequest accountReq = new AccountRequest();
accountReq.setOperation(AccountRequest.Operation.Create);
accountReq.setApplication(“AD App”);
accountReq.add(new AttributeRequest(“sAMAccountName”, identityName));
accountReq.add(new AttributeRequest(“ObjectType”, “User”));
accountReq.add(new AttributeRequest(“IIQDisabled”, false));
accountReq.setNativeIdentity(“cn=” + identityName + “,cn=Users,dc=IIQAD,dc=com”);
accountRequestsList.add(accountReq);
provPlan.setAccountRequests(accountRequestsList);
provPlan.setIdentity(userIdentity);
return provPlan;