OIM 11g - Display Name policy

Hi,
may you help to find where is the default "policy" that compute and set the OIM User attribute named Display Name = <First Name> + <blank> + <Last Name>? Can I change that default behavior?
Thanks,
Gabriele

Nishith Nayan wrote:
1. most of the time we get full name or display name from trusted source. and If we apply your method the OOTB won't work.Why not? OOTB trusted recon save it to UDF and then copy it to OOTB after recon. I just meant that OOTB field should be used and now if the use case is of recon or UI create users is a seperate question.
2. Even OOTB update Display name after user creation again mess to sync the Eventhandler order. and why two handler for same and on same field.Not a mess, just the way orchestration works & our daily bread. ;-) and two eventhandler on the same field is beause Oracle did not provide a policy for this field.
3. Third is all about personal experience and convenience. Agreed & my personal exp is that this OOTB Display Field is used at lot many places in UI and code; thus those functionalities would break if someone goes for UDF solution.
>
>
Just my two cents as I am still a humble learner.
-Bikash

Similar Messages

  • OIM 11g: Display Server Name

    Is there any way, through configuration or UI customization to add the host name of the server to the Web UI?
    We have a load balancer in front of 3 OIM servers, and not knowing which server were on is making troubleshooting issues very difficult.
    For example, we have a load balanced URL: http://oim.company.com which sends requests to servers oim1.company.com, oim2.company.com and oim3.company.com.
    It be very helpful to see the oim1, oim2 or oim3 displayed somewhere in the UI.
    Thanks.

    Nishith Nayan wrote:
    1. most of the time we get full name or display name from trusted source. and If we apply your method the OOTB won't work.Why not? OOTB trusted recon save it to UDF and then copy it to OOTB after recon. I just meant that OOTB field should be used and now if the use case is of recon or UI create users is a seperate question.
    2. Even OOTB update Display name after user creation again mess to sync the Eventhandler order. and why two handler for same and on same field.Not a mess, just the way orchestration works & our daily bread. ;-) and two eventhandler on the same field is beause Oracle did not provide a policy for this field.
    3. Third is all about personal experience and convenience. Agreed & my personal exp is that this OOTB Display Field is used at lot many places in UI and code; thus those functionalities would break if someone goes for UDF solution.
    >
    >
    Just my two cents as I am still a humble learner.
    -Bikash

  • OIM 11g: Has anyone managed to pre-populate Display Name by post process

    Hi all,
    I have an event handler to set Display Name. It works via pre-process but not post (which we need for recon).
    Does anyone have this working for trusted reconciliation?
    Thanks,
    Wayne,

    We are doing a little more basic in our modify post process handler... something like:
    public BulkEventResult execute(long processId, long eventId, BulkOrchestration bulkOrchestration) {
      HashMap<String, Serializable>[] bulkParameters = bulkOrchestration.getBulkParameters();
      String[] entities = bulkOrchestration.getTarget().getAllEntityId();
      params = new HashMap<String, Object>();
      HashMap<String, Serializable> parameters;
      for (int i = 0; i < bulkParameters.length; i++) {
           entityId=entities;
    parameters = bulkParameters[i];
    // Insert whatever your custom display name logic is below
    String fName = getParameterValue(parameters, "First Name");
    String lName = getParameterValue(parameters, "Last Name");
    String mInitials = getParameterValue(parameters, "Middle Name");
    String dName = lName + " ," + mInitials + " " + fName;
    params.put("Display Name", dName);
    try {
    entityManager.modifyEntity(bulkOrchestration.getTarget().getType(),entityId, params);
    } catch (InvalidDataTypeException e) {
    // All/any of your catches go here
    return new BulkEventResult();

  • Error while creating authorisation policy using OIM 11g API

    Hi,
    We have a requirement to create ‘Authorization Policies’ (assign Data Constraints, Permissions & Assignments) using OIM 11g API’s.  I am using ‘oracle.iam.authzpolicydefn.api.PolicyDefinitionService & oracle.iam.authzpolicydefn.vo.AuthzPolicy’.  But when I am trying to attach Entity/Feature (User Management) to authorisation policy, it is throwing exception.  Below is the code snippet which I am trying to implement.
    Line1: PolicyDefinitionService policyService = oimClient.getService(PolicyDefinitionService.class);
    Line2: AuthzPolicy authPolicy = new AuthzPolicy();
    Line3: authPolicy.setName("Test Authz Policy");
    Line4: authPolicy.setDisplayName("Test Authz Policy Dsp Name");
    Line5: authPolicy.setDescription("Test Authz Policy Description");
    Line6: Feature feature = oimClient.getService(Feature.class);
    Line7: Action featureAction = feature.getAction(FeatureManagerConstants.Features.USER_MGMT.getId());
    Line8: List<Action> actions = new ArrayList<Action>();
    Line9: actions.add(featureAction);
    Line10: authPolicy.setActions(actions);
    Line11: policyService.createPolicy(authPolicy);
    Exception: oracle.iam.platform.utils.NoSuchServiceException: java.lang.ClassNotFoundException: oracle.iam.authzpolicydefn.api.FeatureDelegate
    The above exception is throwing at Line6.
    Let me know if anyone implemented.
    - Kalyan Mutya

    If you are using JDeveloper , can you able to get class after giving "." .If yes no than it is the problem with the jar file you are using .Check whether you can able to import oracle.iam.authzpolicydefn.api.Feature.
    Thanks ,
    Animesh anand

  • Error in creating approval policy in OIM 11g

    hi...
    i am trying to create approval policy in OIM 11g. But after giving the details for first step, it gives the following error-
    "Approval policy validation failed with oracle.iam.request.exception. ApprovalPolicyServiceException:An error occured while searching request model <policy name>"
    Please let me know the coz of this error and the way to resolve it.

    If you are using JDeveloper , can you able to get class after giving "." .If yes no than it is the problem with the jar file you are using .Check whether you can able to import oracle.iam.authzpolicydefn.api.Feature.
    Thanks ,
    Animesh anand

  • Issue in OOB display Name in OIM 11.1.1.5

    HI,
    We Had clustered enviornment in OIM (11.1.1.5). We had created post process event handlers for generating 7-8 fields on user form.Now in clustered enviornment is there need to register the plugins and importing the event handlers at both nodes or only a single node.
    As we are facing issue that when we run the recon to create user's in OIM.. For some user's OOB Display name is not getting generated, No role is being assigned to that user's....
    We are not able to find any error logs for that....
    Inconsistent behaviour of OIM 11.1.1.5...
    Is any one earlier stuck into the same issue..???

    You can verify the order of other OOTB event handlers by exportinng MDS.
    I would say desin is not very good.I assume your issue may be due to timing, without finishing one another is trying to execute and Processes doesn't consume the constant time.
    Only solution I found is what I said in above post.
    --nayan                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Problem with Acess policy based Provisioning using DBConnecor in OIM 11g R2

    Hi,
    I am doing Access policy based Provisioning using DB Connector 9.1.0.5.0 in OIM 11g r2.
    it is throwing ITResource Instance with key 0 does not exist. but there no option to select it resource in Process form via Acesspolicy.
    in Application instance form there is a form in that it-resource field is available with default value 0. i am trying to update this value it is not updating . at the time of triggering access policy i am getting following error.
    [XELLERATE.SERVER] [tid: [ACTIVE].ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: oiminternal] [ecid: 0000JdMSEGQApIGqywYfMG1GU6ud000002,0] [APP: oim#11.1.2.0.0] Class/Method: APIUtils/createApplicationInstance encounter some problems: ITResource Instance with key 0 does not exist.[[
    oracle.iam.provisioning.exception.ITResourceNotFoundException: ITResource Instance with key 0 does not exist.
         at oracle.iam.provisioning.util.ApplicationInstanceUtil.validateITResource(ApplicationInstanceUtil.java:119)
         at oracle.iam.provisioning.impl.ApplicationInstanceServiceImpl.addApplicationInstance(ApplicationInstanceServiceImpl.java:70)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at oracle.iam.platform.utils.DMSMethodInterceptor.invoke(DMSMethodInterceptor.java:25)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy455.addApplicationInstance(Unknown Source)
         at oracle.iam.provisioning.api.ApplicationInstanceServiceEJB.addApplicationInstancex(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.oracle.pitchfork.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:34)
         at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
         at com.oracle.pitchfork.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:42)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    its urgent requirement.
    Thanks,
    Edited by: 853559 on Oct 12, 2012 2:25 PM

    You can re-visit access policy It will have the Process form where you can provide the access policy and save it. Access policy is already created so you can modify access policy and open the process form select IT Resource and save it.
    Another way to write pre-pop adapter for populating IT Resource on the process form. But I am sure you can provide it resource via access policy.
    ---nayan

  • How to assign approvaal policy for a request template in OIM 11g

    When I request for resource in OIM 11g, It's always going for Default approval of xelsysadm.
    I want this Request level approval must go to "Beneficiary Manager approval". While requesting I am selecting request template (which I created) for Provision resource as Request type.I have already set "Beneficiary Manager approval" as request level approval for this request template.
    I have created one approval policy, How can I assign this approval Policy to request template so that When i submit this request , it should go to my Manager approval.
    Regards,
    J

    Hi Rajiv,
    I do not need approval of Operational level. I want to stop the approval process after request level approval.
    Here you are saying to create a new approval policy and set as AUTO Approval as true. There are some default approval policies which comes with OIM 11g and one of the approval policy is trigeering the Operaional level approval. So I think I do not need to create new approval policy and I can use exsting approval policy and modify as you suggested selecting AUTO APPROVAL and create approval rule as request template=="XYZ".
    I am not sure which default approval policy trigeering the Operational approval now. Can you pls tell me that?
    Can you pls confirm that, there is only way to restrict Opertional Approval by selecting "AUTO APPROVAL" true and put the approval rule as request template=="XYZ"
    Thanks Rajiv for your help all the time.

  • How to obtain Role name in OIM 11g using API's

    Hello,
    I have a scenario in which I create Role/Group in OIM 11g & it gets provisioned in AD [=works fine] & other part is when i delete role in OIM 11g then it should
    get deleted from AD.I have written postprocess event handler to achieve this.
    In role creation part i get all parameters using "orchestration.getParameters();" , but when i delete role then "orchestration.getParameters();" is empty,so i am
    not able to get role name.
    Is there a way to get role name while deleting roles using API ?
    Thanks,
    Rahul Shah

    Hi Raghav,
    Following is my code :
    tcRODetails = orgOpInterface.getObjects(organizationKey);
    for(int i = 0;i < tcRODetails.getRowCount();i++){
    tcRODetails.goToRow(i);
    // resourceName=AD Group
    if(resourceName.equalsIgnoreCase(tcRODetails.getStringValue("Objects.Name"))&&
    tcRODetails.getStringValue("Objects.Object Status.Status").equalsIgnoreCase("Provisioned")||
    tcRODetails.getStringValue("Objects.Object Status.Status").equalsIgnoreCase("Enabled")) {
    System.out.println("<<<FOUND>>>");
    processKey = tcRODetails.getLongValue("Process Instance.Key");
    provisionObjectKey = tcRODetails.getLongValue("Objects.Key");
    tcProcessSet = oimFormUtility.getProcessFormData(processKey);
    for(int j=0;j<tcProcessSet.getRowCount();j++){
    tcProcessSet.goToRow(j);
    if(grpName.equalsIgnoreCase(tcProcessSet.getStringValue("UD_ADGRP_NAME"))){
    System.out.println("MATCH FOUND!!!!!");
    orgOpInterface.removeObjectAllowed(organizationKey,provisionObjectKey);
    break;
    & i get following error :
    <Mar 22, 2012 1:54:43 PM IST> <Error> <XELLERATE.APIS> <BEA-000000> <Class/Method: tcOrganizationOperationsBean/removeObjectAllowed encounter some problems: Object with key=7 is not already set as an allowed object for Organization with key=1>
    Thanks
    Rahul Shah

  • How to pass the value from DB in Approval Policy Rule OIM 11g R2

    Hi,
    I need to get the value of rule condition in Approval policy from DB.
    Please let me know how to achieve this. I am using OIM 11g R2.
    Thanks

    How to passing the textbox value within the jsp page
    without using javascript or reload the page.No, jsp executes on the remoter server, the text box is on a client machine, you need to send information to the server over the network, http does this with a request, which will reload the page.....................

  • Regarding Authorization policy and Roles in OIM 11g

    Hi,
    In OIM 11g Admin interface, is there a way to find out what all authorization polices, a role has been assigned to ?.
    I am asking this because, if you search for a user, you will know what all roles he is a member of, and similarly if you search for a role, you will know who all users are members of that role.
    Similarly, if you search for a Authorization policy, you will know what are roles are assigned to this policy. But if I search for a role, I am not able to find what all authorization policies has been assigned to this role.
    Looking forward to hearing from you,
    Many thanks in advance

    I understand your concern. But, this feature has not been available
    --nayan                                                                                                                                                                                   

  • OIM 11g - Authorization Policy

    Hi,
    I am facing issue in OIM 11g Authorization policy configuration. I am using OIM 11.1.1.5 Version.
    I have Created a OU --> Sample Helpdesk OU. Under this OU, i have created a user --> Sample Helpdesk user.
    I have created a role --> Sample Helpdesk Role and assigned this role to the user --> Sample Helpdesk user.
    I have created a Auth Policy --> "HelpDesk Create User - HelpDesk OU" which has to allow the user --> Sample Helpdesk user, to create a new users under the organization "Sample Helpdesk OU".
    During creation of User in OIM, i am not able to search the Organization in the lookup field. I am getting Zero records for the search. I used all type of filters to search the OU in the OIM User Form.
    Thanks,
    Sandy.
    Edited by: Sandy on Dec 6, 2011 9:24 PM
    Edited by: Sandy on Dec 6, 2011 9:25 PM

    Hi,
    Make Helpdesk Role created above as administrative role of OU.
    Regards,
    Raghav.

  • How can OIM provision users with same Display Name in AD?

    I can create users with same First Name, Middle Name and Last Name (same Display Name) in OIM if they have different UserId.
    But I can not provision two users with same Display Name to one Organization Unit in AD, the resource provisioning shows
    Status: Rejected
    Response: AD user already exists
    Can AD be configured to create users with same Display Name (different UserId) in one OU, or would I have to create logic in OIM to modify the display name so it gets accepted by AD?
    Thanks!

    Thanks Nitesh. Also, I can create the user with same DN in different OU's, not in same OU.
    I agree once we determine that same cn exists in one OU , I can modify the display name by appending a number at the end or something. I understand the logic but I need more details on how to specify this logic in the pre-pop adapter, can you please share more details.
    Thanks a lot!

  • How to create Authorization policy using OIM 11g API

    Hi,
    Could you please let me know how to create Authorization policy using OIM 11g API.
    Thanks

    Constructing A Policy Programmatically
    http://docs.oracle.com/cd/E27559_01/dev.1112/e27154/cons_policy_prog.htm#CHDHACBF
    api ref for PolicyStore
    http://docs.oracle.com/cd/E21764_01/apirefs.1111/e22649/oracle/security/jps/service/policystore/PolicyStore.html#createApplicationPolicy_java_lang_String_
    something like below code to start with
    try {
    JpsContextFactory ctxFact;
    ctxFact = JpsContextFactory.getContextFactory();
    JpsContext ctx;
    ctx = ctxFact.getContext();
    PolicyStore ps = ctx.getServiceInstance(PolicyStore.class);
    if (ps == null) {
    // if no policy store instance configured in jps-config.xml
    System.out.println("no policy store instance configured");
    return;
    ApplicationPolicy ap = ps.createApplicationPolicy("Trading", "Trading
    Application","Trading Application.");
    } catch (JpsException e) {
    }

  • OIM 11g R1 - Generate Common Name

    Hello,
    if i create a new user in OIM the common name will be greate with <firstnam> <lastname>.
    Instead of a "blank" i need a "." between <firstnam> <lastname>. The common name should looks loke <firstnam>.<lastname>
    How do i edit this settings?

    write your own event handler to generate the commn name as per ur loggic.
    also check the system property  CommonNameg eneration plugin (XL.DefaultCommonNamePolicyImpl) , if you can find any clue there.

Maybe you are looking for

  • Can anyone help me out with this icon's meaning and how to fix it?

    I just bought a Blackberry Torch 9800.. I have been downloading applications and recently upgraded one of my trial apps to the pro.. but I cannot get the pro version to work. I have activated the account and registered the license key and still nothi

  • My Skype number is not ringing

    My skype number is not ringing or answering when it called it worked great for a few weeks

  • Bapi_trip_get_details - error

    Hi Gurus,          I am encountering errors while using the BAPI_TRIP_GET_DETAILS to obtain the details of the travel expense report i had created earlier.This error is happening when i set the 'calculate_amounts' parameter to 'X'(by default).I am ge

  • Question about using Spaces

    Is there a way to "send-current-window-to-window-#x" with regards to areas defined in Spaces? eg. I'm often in a window (like my VM of XP in Fusion, or whatever) and I want to send it to another area in Spaces. Is there a key command to do this? Also

  • In solman_workcenter - RCE- E2E analysis tabs change,trace is not appering

    Hi, Initisaled EHp1 and done initial and basic configuration using Transaction SOLMAN_SETUP successfully. SMD + wily installed succeesfully in satellite system system I can see the satellite system data in Introscope Webview Extractor Framework jobs