4 Replies Latest reply: Mar 19, 2013 11:06 PM by 997942 RSS

    Developing custom flat file identity connector


      I've got the feeling that I'm missing something really obvious, so sorry if it's a stupid question.

      Basically, I'm trying to learn how to write custom identity connector, so I'm following the tutorial that can be found there:


      My problem is that the sample code uses 2 classes but never defines them. These classes are "org.identityconnectors.flatfile.FlatFileUserAccount" and "org.identityconnectors.flatfile.utils.AccountConversionHandler". I've tried searching around for the implementations, but could not find them anywhere.

      Am I missing something? Why are those classes used but never defined?

        • 1. Re: Developing custom flat file identity connector
          You can have a look at http://java.net/projects/identityconnectors and https://wikis.oracle.com/display/IdentityConnectors/Home . It might help.

          • 2. Re: Developing custom flat file identity connector
            Nishith Nayan
            Download any OOTB Trusted recon connector ie. like ORCL_EBS_ER_9. and explore it. This will give you the better understanding.

            Only change here... It will read from DB instead of Flat file.Use noraml java file handling method or CsvReader utility for reading from flat file.

            While developing connector more focus should be on flexibility and that can provide using configuration lookup .

            While developing Flat file connector, you can consider below

            1. Lookup for column name

            2. Lookup for order- column order in flat file( this will provide you flexibility to have file's column in any order. and that will be control by this lookup

            3. Lookup for column validation- you can provide colum_name and type of data. So the user will configure what are the columns required validation

            • 3. Re: Developing custom flat file identity connector
              OK, I guess I'll have to read code other than what is shown in the official doc then...

              • 4. Re: Developing custom flat file identity connector

                I am new to OIM and I am facing the same problem. Did you find any solution to that? I am unable to write code for FlatFileUserAccount and AccountConversionHandler.
                Please help.

                Thanks & Regards,