How to use encoded password in ODI SDK

Dear Experts,
I found one problem in case of ODI SDK while implementing it in eclipse. As everybody knows we are hardcoding the database credentials, DBA is not interested to share the password easily.If we could implement this in such a way like we are using encoded password for configuring agent then it may be much better for everyone.
yes of course we can create one file that can contains the credentials but at the end someone can print it in console by reading line by line. Is it possible to develop one algorithm that can ensure to use the password safely (like encoded one).
Need your valuable suggestion on the same.
Thanks

Hi-
Yes it is possible by the way of KM custamization, You need to modify LKM call sqlldr via jython step to pass the user info and password as variable instead of ODI method. Try this command in your KM step:
userid=#GLOBAL.user/#GLOBAL.psw
Hope this will work for you.
Thanks,
Saravanan Rajavel

Similar Messages

  • How to use encoded password in shell script ?

    Hi everybody,
    For make a load file in oracle table, I'm using a LKM File to Oracle updatding with a sqlldr (shell script).
    My problem is very simple : For security reason in this shell-script , I don't want to see in clear the password of the Oracle user for database connection. Is it possible and how do it ?
    Thanks in advance

    Hi-
    Yes it is possible by the way of KM custamization, You need to modify LKM call sqlldr via jython step to pass the user info and password as variable instead of ODI method. Try this command in your KM step:
    userid=#GLOBAL.user/#GLOBAL.psw
    Hope this will work for you.
    Thanks,
    Saravanan Rajavel

  • How to use GROUP BY  in ODI

    how to use GROUP BY in ODI tool

    Hi ,
    you can combine the insert stamt with the select ....so that in the target u will get a single line .....
    SQL> select * from prop_details;
    PROPERTY RELAVANTD NOTICES
    10100 25-JAN-09 30
    10100 03-JAN-09 30
    10100 02-DEC-08 20
    10100 01-DEC-08 10
    10100 31-DEC-08 20
    10101 10-JAN-09 10
    10101 20-JAN-07 15
    10101 30-DEC-08 45
    10101 20-FEB-08 35
    10101 31-JAN-09 25
    10 rows selected.
    SQL> select PROPERTY,max(RELAVANTDATE),SUM(NOTICES) from PROP_DETAILS GROUP BY P
    ROPERTY;
    PROPERTY MAX(RELAV SUM(NOTICES)
    10101 31-JAN-09 130
    10100 25-JAN-09 110
    SQL>

  • How to use dual table in ODI in source side for nested queries?

    Hi,
    Any idea how to use dual table in source for more than once. I want to build a ODI interface for the following source query
    SELECT ACTV_TYP.ACTV_TYP_SRC_CD, ACTV_TYP.ACTV_TYP, PORT_ACTV_TYP.PORT_ACTV_TYP_SRC_CD, PORT_ACTV_TYP.PORT_ACTV_TYP, SFT_DLT_STS.SFT_DLT_STS_SRC_CD, SFT_DLT_STS.SFT_DLT_STS
    FROM
    SELECT LOW_VALUE PORT_ACTV_TYP_SRC_CD, MEANING PORT_ACTV_TYP
    FROM CUSTOMS.DOMAIN_ALLOW_COLUMNS_VALUES
    WHERE TABLE_NAME = 'BRKR_PORTS'
    AND COLUMN_NAME = 'WORK_PORT_TYPE') PORT_ACTV_TYP,
    (SELECT LOW_VALUE SFT_DLT_STS_SRC_CD, MEANING SFT_DLT_STS
    FROM CUSTOMS.DOMAIN_ALLOW_COLUMNS_VALUES
    WHERE TABLE_NAME = 'BANKS'
    AND COLUMN_NAME = 'REC_STATUS') SFT_DLT_STS,
    (SELECT 1 ACTV_TYP_SRC_CD, '?????' ACTV_TYP FROM DUAL
    UNION ALL
    SELECT 2 ACTV_TYP_SRC_CD, '???????' ACTV_TYP FROM DUAL) ACTV_TYP
    Regards

    If the below query is equivalent , it seems you don't need dual table at all , just default the values in the interface.
    You are using dual tables to populate values ACTV_TYP.ACTV_TYP_SRC_CD, ACTV_TYP.ACTV_TYP values. Look at your query in the following manner :
    SELECT '1', '?????', PORT_ACTV_TYP.PORT_ACTV_TYP_SRC_CD, PORT_ACTV_TYP.PORT_ACTV_TYP, SFT_DLT_STS.SFT_DLT_STS_SRC_CD, SFT_DLT_STS.SFT_DLT_STS
    FROM
    SELECT LOW_VALUE PORT_ACTV_TYP_SRC_CD, MEANING PORT_ACTV_TYP
    FROM CUSTOMS.DOMAIN_ALLOW_COLUMNS_VALUES
    WHERE TABLE_NAME = 'BRKR_PORTS'
    AND COLUMN_NAME = 'WORK_PORT_TYPE') PORT_ACTV_TYP,
    (SELECT LOW_VALUE SFT_DLT_STS_SRC_CD, MEANING SFT_DLT_STS
    FROM CUSTOMS.DOMAIN_ALLOW_COLUMNS_VALUES
    WHERE TABLE_NAME = 'BANKS'
    AND COLUMN_NAME = 'REC_STATUS') SFT_DLT_STS
    UNION
    SELECT 2 , '??????', PORT_ACTV_TYP.PORT_ACTV_TYP_SRC_CD, PORT_ACTV_TYP.PORT_ACTV_TYP, SFT_DLT_STS.SFT_DLT_STS_SRC_CD, SFT_DLT_STS.SFT_DLT_STS
    FROM
    SELECT LOW_VALUE PORT_ACTV_TYP_SRC_CD, MEANING PORT_ACTV_TYP
    FROM CUSTOMS.DOMAIN_ALLOW_COLUMNS_VALUES
    WHERE TABLE_NAME = 'BRKR_PORTS'
    AND COLUMN_NAME = 'WORK_PORT_TYPE') PORT_ACTV_TYP,
    (SELECT LOW_VALUE SFT_DLT_STS_SRC_CD, MEANING SFT_DLT_STS
    FROM CUSTOMS.DOMAIN_ALLOW_COLUMNS_VALUES
    WHERE TABLE_NAME = 'BANKS'
    AND COLUMN_NAME = 'REC_STATUS') SFT_DLT_STS
    Now you can use dataset to make UNION.

  • How to use custom password encryptor/decryptor class for jdbc connection

    I am in process of migrating application from Jrun server to weblogic . In jrun we use to provide our custom class which used to decrypt the password provided in resource file as below
    <username>webclt</username>
    <password>AAAAAAASSSSSSSCCCCCCCCCCCCCC</password>
    <encrypted>true</encrypted>
    <encryption-class>com.CustomEncryptor</encryption-class>
    How could i use the same class while configuring datasource in weblogic 10 server.

    1- By default, the jre will read the user's cacerts which runs the program.
    2- You can specify another cacerts this way :
    System.setProperty("javax.net.ssl.trustStore", my_trust);
    For the case 1 and 2, you need to put the certificate in the cacerts.. Or,
    3- You implement a custom TrustManager which, for example, accepts all certificates :
    class X509TrustManagerTrustAll implements X509TrustManager {
    public boolean checkClientTrusted(java.security.cert.X509Certificate[] chain){
    return true;
    public boolean isServerTrusted(java.security.cert.X509Certificate[] chain){
    return true;
    public boolean isClientTrusted(java.security.cert.X509Certificate[] chain){
    return true;
    public java.security.cert.X509Certificate[] getAcceptedIssuers() {
    return null;
    public void checkClientTrusted(java.security.cert.X509Certificate[] chain, String authType) {}
    public void checkServerTrusted(java.security.cert.X509Certificate[] chain, String authType) {}
    and you call it in the right place in the code you wrote (SSLContext,..)
    Hope it helps and deserves a duke star ;)

  • How to use Update Statement in ODI Procedure

    Hi,
    How can I use an update statement inside an ODI procedure.
    Thanks

    Hi,
    You do not need the BEGIN and END. ODI procedures are free text, so you can simply write your update statement, as you would in toad/sql developer etc etc. Just make sure you set the Technology and the logical schema. It is how ever best practice to also use the API:
    <%=odiRef.getSchemaName("YOUR_LOGICAL_SCHEMA_NAME", "D")%>. to prefix tables. This way, you select data from different schema's in the same instance (as long a your user has the correct privs).
    Cheers
    Bos
    Edited by: Bos on Jun 22, 2011 3:09 PM

  • How to use oracle partition in ODI

    hi all,
    i have a oracle database with daily partition. partition syntex is tbl_abc partition(20090909), now i want to use it in interface..
    kindly tell the way...
    Regard
    Naseer

    Hi Naseer,
    How are you?
    ODI doesnt support partition. You can do a work around for that by creating a VIEW out of that partition name, reverse it in ODI and use that as a source.
    Like,
    CREATE TABLE sales_range
    (salesman_id NUMBER(5),
    salesman_name VARCHAR2(30),
    sales_amount NUMBER(10),
    sales_date DATE)
    PARTITION BY RANGE(sales_date)
    PARTITION sales_jan2000 VALUES LESS THAN(TO_DATE('02/01/2000','DD/MM/YYYY')),
    PARTITION sales_feb2000 VALUES LESS THAN(TO_DATE('03/01/2000','DD/MM/YYYY')),
    PARTITION sales_mar2000 VALUES LESS THAN(TO_DATE('04/01/2000','DD/MM/YYYY')),
    PARTITION sales_apr2000 VALUES LESS THAN(TO_DATE('05/01/2000','DD/MM/YYYY'))
    create view sales_jan200 as select * from sales_range PARTITION (sales_jan2000);
    Makes sense?
    Thanks,
    G

  • Tecra M5: How to use HDD password when HDD is connected as external device?

    I have a Toshiba Tecra M5 with MK1032GSX hard disk. I put a bios password and HDD password. Every day I power on my laptop by digit my password only one time: unlock disk and bios. The screen for password is before windows starts.
    One day motherboard of my laptop is broken, I bring my pc on Toshiba support center (less disk), and I waiting for it (2 month ago). I need to read my date from disk but it is locked by password. The disc is SATA disk, I put it on a desktop and I see it in bios and in peripheral of windows resource, but I don't see it in explorer.
    Any of software that I tried (HDD unlock, atapwd...) wont work. I have my password, I have not forgotten it.
    How can I read my date? Can you help me?
    Thank you.

    as far as i know its not possible to remove the hardware password from the HDD other than by using your laptop.
    Still if you google arround I think I saw once something about a Linux distro that was able to unlock some HD's. Not sure if thats still arround but perhaps you can give it a go. Still I would not advise doing something like that has its possible that it messes up your HD and then you will be stuck with a good paperweight.
    The proper course of action when you send ur laptop to warranty is to make a full backup. There are image software out there that allows you to make a mirror image of your HD for example. I, myself, bought a 100GB USB2 2.5' HD that fits my pocket and goes with me everywhere. I've encrypted it with TrueCrypt so no one has access to my sensible information if loose it and I make regular backups from the laptop to this HD. It saved my life at least 2x.
    Just my 2 cents
    Cheers

  • How to use useMaxValue property in ODI for XML?

    Hello All,
    I am using 11.1.1.5 version of ODI. I want to use "useMaxValue" for which description is given as follows by oracle.
    When this property is set to true, elements for which maxOccurs is not specified in the XSD are considered as maxOccurs ="unbounded". Otherwise, the driver assumes that maxOccurs=1 when maxOccurs is not specified.
    when I use this property as useMaxValue in the JDBC url for XML technology I get the following error.
    ODI-1227: Task SrcSet0 (Loading) fails on the source XML connection XML FILE.
    Caused By: java.sql.SQLException: ODI-40717: Unknown parameter : usemaxvalue
    I am trying to get multiple records for the same elements in XML for this I am using this property. Is there any other way to get it done?
    Thanks in Advance!

    please try uimv or useimplicitmaxvalue. I justed tried, both works well. I will file a doc bug to track the issue, maybe document need change, maybe code, waiting bug updates.
    Edited by: tina.wang on Oct 7, 2012 9:28 AM

  • Terminal how to use a password with a ) or (in it

    I have a script that runs Cron to download a file (the weekly record) from my telephone system (that is  connected to the same network as the Mac 10.6 server that performs the script is in).  Next it uses the mail function (sendEmail -f) and in order to send it needs to enter the password for the email account it is using.  This password has an  '(' in it.  Example: 123abc(   .
    I get the following error: line 16: syntax error near unexpected token `(' - and needles to say the file is not being send.
    I am not good at doing this kind of stuff, but suspect it needs to be 'escaped' in some form or way.  Can somebody help me out here? 

    Thanks Linc.
    have tried \(\, obviously not remembered well. 

  • SQL Override. How to use custom SQL in ODI?

    I am new to ODI & have an Informatica background. I am looking for an SQL override capability in ODI. I have an existing SQL which has complex joins, in-line queries, filters, unions & many other complexities. The query reads many existing tables & output 5 fields, which I need to populate in the target table. In Informatica, I would simply create a Target table of these 5 fields, import the same table as both source & target, & then override the source qualifier with the existing SQL. Does ODI have a similar feature?
    I know that the same can be achieved using core ODI features, but I am trying to get it done quickly without re-inventing the wheels.
    Thanks,
    Dinesh.

    Dinesh
    you can not use SQL over-ride feature which informatica has. I am an informatica developer myself. So I can feel your pain. You are gonna miss a lot of features Informatica has. the one you are looking can not be done using ODI Interfaces. But can be done using ODI Procedures. When you create a step in Procedure you would mention the Source and target schema informations/Context Logical Schema info which should do the work for you. If your source and targets are in different Server then create a DBlink between two servers. Now when you put your select query in it put it like an insert query.

  • How to use Order by in ODI

    Hello Friends,
    We are extracting data from oracle table to Essbase target, we need to in-corporate Order By clause on source while extracting data.
    Ex: Select xxxx, WEEK_NUM from aaaaa
    where xxxx = yyy
    ORDER BY WEEK_NUM asc
    Can you suggest how to do this?
    Thanks.

    Hi Can you please check the below thread
    Sorting or Order By on ODI
    may be this what you looking for.

  • How to use generic action in ODI?

    I create new Action (Topology.Generic Action), for example, "DELETE TABLE", that contains 1. <%=odiRef.disableReferringFKs( )%> and 2. DELETE FROM ...
    If I want to perform this Action for any table before load data, what must I do?
    Where can I perform this in ODI? May be in Packages or in "Generic DDL" for model?
    I couldn't find this information((

    Hi Pani,
    my experience is that you can best use a procedure to do table deletions on either your source, staging or target schema.
    view the oracle users guide / reference guide for details.
    Where to perform? In the designer, create a project, open the first folder and there you'll find the procedures.
    Right click it and insert a procedure. But again, check the docs, which I believe are delivered with your installation.
    By the way, you can add the procedure in a package to have it executed before any other steps start.
    Good luck!
    Rudy Oosterling
    Edited by: user10081313 on 21-jan-2010 7:54

  • How to use BatchSecurityItem  in BusinessObjects Enterprise SDK

    Hi All,
              Can you please provide me code snippet or hint,to use BatchSecurityItem  Class in BusinesObjects Enterprise SDK.I am struck.Please help.
    Regards,
    Simha

    The InfoObjects.BatchSecurityItems collection property is used to speed up performance when you're trying to check multiple rights for an InfoObject.
    Whenever you check for a InfoObject right via the InfoObject.SecurityInfo, it sends a round-trip request to the CMS for per method call.  The round-trip to the CMS makes it slow.  To help with performance, each right you check via a method call is cached on the SDK side.
    You can use the InfoObjects.BatchSecurityItems to 'pre-cache' rights by Object ID and Right ID, such that a single request is made for a collection of rights, and cached SDK side.  So subsequest requests to InfoObject.SecurityInfo for rights will use the cached value.
    It's pretty straightforward to use - make your Enterprise SQL request for InfoObjects from the InfoStore.  Retrieve the BatchSecurityItems collection.  For each right you want to check (say from the CeSecurity.Right enumeration), call BatchSecurityItems.Add for the right ID and object ID.
    Then invoke BatchSecurityItems.Fetch().
    That's pretty much it.  Then subsequent queries to the InfoObject.SecurityInfo will use the cached security rights info.
    Sincerely,
    Ted Ueda

  • How to use "full join" in ODI interface

    I need to join two tables using full join. So, when I drag and drop table columns (build join) and mark left and right join (get full join):
    +(All rows of OSS_NCELLREL (OSS_NCELLREL) including the rows unpaired with OSS_NECELASS (OSS_NECELASS) rows and all rows of OSS_NECELASS (OSS_NECELASS) incuding the rows unpaired with OSS_NCELLREL (OSS_NCELLREL)+
    I get the following error:
    Source panel of the diagram: Clause set to full join on a technology that does not support full joins
    I use Oracle DB tables in the same DB.
    Help! What I do wrong?

    Hi,
    You need to work around Topology Manager.
    Please follow the below steps,
    1. Edit the 'Oracle' technology from the Physical Architecture treeview.
    2. In the Technology Defintion Tab select 'Ordered (Sql ISO)' radio button.
    3. In the Technology 'SQL Tab' set the following:
    - Clause Location: From
    - Brackets supported in the ON clauses: check
    - Inner: check, type INNER JOIN
    - Cross: check, type CROSS JOIN
    - Left Outer: check, type LEFT OUTER JOIN
    - Right Outer: check, type RIGHT OUTER JOIN
    - Full Outer: check, type FULL OUTER JOIN
    PS: Please take a backup Oracle techno before editing. ;)
    Thanks,
    G
    Edited by: Gurusank on Nov 27, 2008 9:05 PM

Maybe you are looking for

  • Pictures not showing up in Messages (Macbook)

    When anyone sends me a picture through iMessage, it is not loading on my Macbook. It will display a bubble that says IMG_### (for example, IMG_280). When I click on it the following pops up Any ideas how to fix this? I just updated to Yosemite, but i

  • Problem with Date Variable in Web I

    Hi everybody, In the BW I have a query with a Date Variable (0date) and when i execute the WebI report the variable shows date and time, like "04/22/2010 00:00:00". Is it possible i remove the time from the variable ? I need to do this cause i use th

  • Mails whenevr an inbound idoc fails

    Hi Experts, Is there any way I can trigger mails whenevr an inbound idoc fails to update in r3.With reference to workflow etc Regards, Arnab

  • Who can help me? is it a issue of Memory leak?

        First , I have a poor English, sorry!     I have a project , and the project has two States, click the button to change the State. I run the Application, I can see the memory is 39MB. After I change the State several times, and the memory increas

  • Preventing Windoze Servers IPv6 Stack From Coming Up Behind FWSM

    Hello, We recently noticed that a sysadmin brought up a Server 2008 box behind one of our firewalls and was able to RDP to the box though we have rules explicity blocking RDP. Further investigation discovered that the connection was through protocol