Skip to Main Content

Security Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

OIM Username generation after trusted reconciliation

2610520May 28 2015 — edited Jul 13 2015

Hi All,

I have a problem generating user names via trusted reconciliation in OIM 11gR2 PS2. From the UI it works fine to generate user names but from trusted recon via a flat file I get a problem as I get null from reqData.get(emptype) as the reqData map does not contain the employee type / role of the user (e.g. Full-Time), see code below.

    public String getUserName(Map<String, Object> reqData) throws UserNameGenerationException {
        logger.entering(CustomUserNameGeneration.class.getName(), "getUserName");
        String userId = "";
        String reqFirstName = reqData.get(firstname) == null ? null : reqData.get(firstname).toString();
        String reqLastName = reqData.get(lastname) == null ? null : reqData.get(lastname).toString();
        String reqEmpType = reqData.get(emptype) == null ? null : reqData.get(emptype).toString();

I have printed reqData and it clearly does not have the emp type / role:

reqData = {usr_locale=null, Middle Name=null, Email=null, Last Name=Rooth, First Name=Marcus}

However, when the reconciliation event is re-tried a while later I get all data that has been reconciled including the role:

reqData = {Display Name=Marcus Rooth, Role=Full-Time, Employee Number=107863, act_key=21, Last Name=Rooth, Xellerate Type=End-User, First Name=Marcus}

Has any of you seen this before? Any suggestions how to resolve it?

Thanks,

Albin

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 10 2015
Added on May 28 2015
4 comments
1,439 views