Accessing the stored OIM password in CSF from SOA composite

Is there a guide on how to access CSF - OIM credentials from your SOA composite. I found this example ( http://docs.oracle.com/cd/E14571_01/doc.1111/e14309/soa_api.htm ) which hard codes the xelsysadm's password in the SOA composite. It says See SOA documentation for more information about how to get credentials from CSF inside a SOA composite. I can't find any documentation describing how to access the credentials.
I'm trying to access the lookup definitions I have defined in OIM.

This is the code to retrieve the username and password from the CSF:
>
     String oimUserName = "";
     String oimPassword = "";
     //get system administrator's credentials
     oracle.security.jps.JpsContext ctx = oracle.security.jps.JpsContextFactory.getContextFactory().getContext();
     final oracle.security.jps.service.credstore.CredentialStore cs = (oracle.security.jps.service.credstore.CredentialStore)ctx.getServiceInstance(oracle.security.jps.service.credstore.CredentialStore.class);
     oracle.security.jps.service.credstore.CredentialMap cmap = cs.getCredentialMap("oracle.oim.sysadminMap");
     oracle.security.jps.service.credstore.Credential cred = cmap.getCredential("sysadmin");
     if (cred instanceof oracle.security.jps.service.credstore.PasswordCredential) {     
          oracle.security.jps.service.credstore.PasswordCredential pcred = (oracle.security.jps.service.credstore.PasswordCredential)cred;
          char[] p = pcred.getPassword();
          oimUserName = pcred.getName();
          oimPassword = new String(p);
>
It will retrieve the username and password for a map called "oracle.oim.sysadminMap" with key user of "sysadmin". In my instance, i have added xelsysadm and password for this key.
-Kevin

Similar Messages

  • How to access the stored password list of N9 nativ...

    How to access the stored password list of N9 native browser?

    most everything should be listed here.
    there was a way to see the website data and stored information, but not the passwords. they were ************
    you were only able to delete the login information, and unfortunately, since i have not used the device in so long, have forgotten the language.
    so you will have to dig a bit.
    it was a command that you would enter into the browser address bar.
    if it comes to me i will repost, but for now...check here.
    http://talk.maemo.org/showpost.php?p=1104892&postcount=1

  • Updated to firefox 4.0. since then my computer is very slow accessing the internet, websites and getting information from within a website.

    Over a week ago I updated my computer to Firefox 4.0. Since then my computer is very slow accessing the internet, websites and getting information from within a website. Also, a tool bar has shown up for YAHOO which I did not request. The old detailed tool bar for Firefox has disappeared. All that now shows for Firefox is the area to enter website urls and an area to enter topic for a Google Search.
    Many times I have to exit Firefox and re-enter it later to access the internet.
    Please advice what I need to do to get back to the speed I had with the older version of Firefox.
    Thank You,
    Dennis

    Over a week ago I updated my computer to Firefox 4.0. Since then my computer is very slow accessing the internet, websites and getting information from within a website. Also, a tool bar has shown up for YAHOO which I did not request. The old detailed tool bar for Firefox has disappeared. All that now shows for Firefox is the area to enter website urls and an area to enter topic for a Google Search.
    Many times I have to exit Firefox and re-enter it later to access the internet.
    Please advice what I need to do to get back to the speed I had with the older version of Firefox.
    Thank You,
    Dennis

  • Want to reset the stored ID/Password for a site

    I need to reset the stored ID/Password for a site. I entered the wrong ID and clicked Save on the pop-up for saving password for the site. Turns out I used the wrong ID to login and now I can't reset it to the correct spelling. It keeps overriding what I type in.

    Highlight that entry in the drop down list and press Shift+Delete to remove it.
    * http://kb.mozillazine.org/Deleting_autocomplete_entries
    * http://kb.mozillazine.org/Password_Manager

  • I went from an I-Phone 3GS to I-Phone 5, I can make phone calls out but I can't access the internet when I am away from my WI-FI connection... any ideas?

    I went from an I-Phone 3GS to I-Phone 5, I can make phone calls out but I can't access the internet when I am away from my WI-FI connection... any ideas?

    but in the home with wireless internet access , it is continued when off, sometimes can not working,
    What does "it is continued when off" mean?
    And the same for "somtimes can not working"?

  • HT201250 I have done my back up using time machine, now I have a new mac and I need to access the files that I had saved from my old mac. How can I do that?

    I have done my back up using time machine, now I have a new mac and I need to access the files that I had saved from my old mac. How can I do that?

    Use Migration Assistant on your new Mac:
    Click Continue:
    On the next screen, choose your Time Machine backup disk.
    Don't bother to migrate Applications unless you know they will work on your new Mac. For example, PowerPC applications won't work. Just migrate your user account which will copy all your photos, music, movies, and other documents.
    Note: you will not be able to migrate the information to same account in which you are already logged in. Migration Assistant will tell you that and recommend what to do. It can migrate the information to a new account, but you will have to give it a name you might want to change later. One way around this is to create a temporary account, log in to it, and run Migration Assistant which will replace your normal account. Then, log out of the temporary account, log in to your usual one, verify everyting works as you expect, and delete the temporary one.
    All this can be avoided when you set up a brand new Mac by running Setup Assistant which essentially does the same thing to create your new account, but most people are too excited to do that and elect to migrate later.

  • Are you confused about accessing the Lion iTunes Get Info menu from mouse?

    I was...for some reason Lion was shipped with the right click (secondary) turned off, which is how you access the Get info Menu in iTunes from the mouse. So just go into Apple menu choose system preferences. Choose mouse and check the secondary click box. Then you are good to go back into iTunes choose a song and right click to get the Get info menu...

    This has nothing to do with iTunes.
    It is the OS System prefs.

  • I have purchased Apple TV and seagate central. I am able to access seagate central from my ipad3, how to access the seagate central media hard disc from apple tv

    I have recently purchased Apple TV 3 and seagate central.
    I am able to access the media in seagate central from my ipad 3
    Is there any application in Apple TV to access the media in seagate central directly
    There are applications to access YouTube etc
    Why can't there be application to access our own hard disc?

    I am trying to do this as well.
    From all the forums and websites and blogs I've sifted through it seems it isn't possible at this stage.
    A not so functional option is to access your media through the "SeagateMedia" app on iOS and then using airplay - switch the video/song/whatever over to Apple TV.
    Problem is - it seems to only be able to play compatible file types ie won't play a ripped .AVI. So this method is flawed.
    Keep us updated if you find anything out!
    Theaussiegoona

  • I cannot access the Advaced Email set up screen from my 9300 Curve

    Can I talk to someone in Blackberry who can solve my email problem? Blackberry premium email team have been unable to help me for the last 5 weeks despite many attempts. Blackberry forums and BIS do not address why I cannot access the Advanced Setting screen to set POP/IMAP details for my primary email address from my phone. I have 3 other email address's working fine. I have had a 9300 Curve for the past year and this problem only occurred when updating the Blackberry software to 6.0 Bundle 2647 (V6.0.0.00 - Platform 6.6.0.223) 5 weeks ago.I am desperate for help....Jeff Dakin - 

    Hi and Welcome to the Community!
    So as to avoid wasting your time with redundant advice, please post EVERYTHING you have already attempted, with exactness and clarity, especially since you've already been escalated to the folks who certainly should have been able to solve it.
    Thanks.
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Accessing the DAQ-700's internal clock from MATLAB

    I am trying to use MATLAB's data aquisition toolbox to output arbitrary waveforms to a DAQ-700 card. How can I access the timers on the card from MATLAB? In what way can I exercise precise control over the frequency of the output using the internal timer?

    Hello;
    Since you are using the MATLAB toolbox, you will need to get that information from MathWorks. By using that toolbox, you are accessing a DAQ driver that was developed by Mathworks and are only using National Instruments hardware.
    Sorry if I couldn't be of more help at this time.
    Regards
    Filipe A.
    Applications Engineer
    National Instruments

  • I want to reset the stored ID/Password for a given site

    I clicked on "Remember Password" and now want to change the ID and Password. How can I do this?
    Also, my gmail account has the wrong stored password and I can't reset it so have to type it in each time.

    [[Options window - Security panel#w_passwords]]
    * You can manage saved passwords and delete individual passwords by clicking the Saved Passwords... button.

  • HT1947 can the remote app access the same iTunes library while paired from 2 different iPhones

    my husband and I want to use the remote app on each of our respective iPhones to access the same iTunes library via AppleTV.  is this possible?

    how do i do that?  it's already working on mine, and he just loaded the remote app on his iphone and set up home sharing with my apple ID.  However, when he tries to add my iTunes library, it gives him a code but I can't see his iphone device name so we can't pair his iphone. 

  • Accessing JMS UDD deployed on OSB cluster from a composite JMS adapter deployed on soa cluster

    Our environment setup
    Single domain with three clusters
    osb_cluster.soa_cluster and   bam_cluster
    osb_cluster: osb_server1 and osb_server2
    wlsbJMSServer_auto_1: targetted to osb_server1
    wlsbJMSServer_auto_2: targetted to osb_server2
    osb_subdeployment1:targetted to wlsbJMSServer_auto_1 and wlsbJMSServer_auto_2 JMS servers
    osb_subdeployment1 has JMS UDD queue jms/wlsb/queue
    soa_cluster: soa_server1 and soa_server2
    There is a BPEL composite deployed to soa_cluster. It has JMS adapter trying to read messages from jms/wlsb/queue
    JCA JMSAdapter is deployed to osb,soa clusters and Admin server
    ConnectionFactory is targetted to soa and osb clusters (osb_cluster and soa_cluster)
    We have bounced soa and osb  servers(not admin) after jms changes.
    soa log says
    JMSAdapter Composite1l JmsDDEndpoint_onFailure: Unable to resolve 'jms.wlsb.queue. Resolved 'jms'
    Can we access JMS destinations deployed  on one cluster from different cluster?
    If yes, how can we do that ? do we need  to modify BPEL JCA file to indicate destination is on another cluster?
    Thanks,
    Praveen

    Anybody has faced similar issue?

  • Unable to call CstInvTxnsInterfaceService from SOA composite

    Hi all
    I am trying to call the service
    http://adc60085fems.us.oracle.com:6021/cstTransInterface/CstInvTxnsInterfaceService?WSDL
    using a file adapter to read values from an XML and mapping it to the service with the help of a mediator.
    the XML and XSD's used are valid and well-formed.
    The errors I am getting while compiling the project are :
    [scac] FATAL_ERROR: location {ns:composite/ns:import[@location='file:/scratch/nirastog/view_storage/nirastog_fusion_scm/.jdev_user_home/mywork/Cost_Inv_sevice/cost_inv_service/r.wsdl']}: Load of wsdl "http://adc60085fems.us.oracle.com:6021/cstTransInterface/CstInvTxnsInterfaceService?WSDL with Message part element undefined in wsdl [file:/scratch/nirastog/view_storage/nirastog_fusion_scm/.jdev_user_home/mywork/Cost_Inv_sevice/cost_inv_service/r.wsdl] *part name = body     type = {http://xmlns.oracle.com/apps/scm/costing/costPreProcessor/transInterface/service/}cstInvTxnsInterface*" failed
    [scac] FATAL_ERROR: location {ns:composite/ns:import[@location='http://adc60085fems.us.oracle.com:6021/cstTransInterface/CstInvTxnsInterfaceService?WSDL']}(18,30): Load of wsdl "http://adc60085fems.us.oracle.com:6021/cstTransInterface/CstInvTxnsInterfaceService?WSDL with Message part element undefined in wsdl [http://adc60085fems.us.oracle.com:6021/cstTransInterface/CstInvTxnsInterfaceService?WSDL] *part name = parameters     type = {http://xmlns.oracle.com/apps/scm/costing/costPreProcessor/transInterface/service/types/}getCstInvTxnsInterfaceAsync"* failed
    The message part name mentioned in the error (i.e. body) is mentioned in file adapter WSDL(r.wsdl)
    Is there something more that I need to do or I am missing something here??
    any help/advice is greatly appreciated.
    Thanks
    Nitin

    If you are using the same Apple ID on both devices - you must associate a different email address on one of the devices and then remove the Apple ID email address from that device.
    On the iPad you can go to Settings>FaceTime>You can be Reached for Video Calls at>Add Another Email. Enter a valid (obviously) email address and the email address will be verified by Apple. Go to the inbox for that email address - look for the email from Apple and follow the link from there.
    After you set all that up you need to remove the original Apple ID email address from that device or other devices will still try to reach you at that email so - tap the Apple ID in the FaceTime settings and select Remove this Email.

  • How to access the stored procedures from Java

    Hi,
    There is stored procedure in oracle sql and that have two input parameters and recordset as an output parameter.
    eg.
    CREATE OR REPLACE PROCEDURE Test(
    p_Age JUNK.Age%Type,
    p_SURNAME JUNK.SURNAME%TYPE,
    RC1 IN OUT P_GETALLTOPICDATAPkg.RCT1)
    Now i want to execute this by using Java JDBC.I have wrote the following code,
    but how to convert "String data to Clob data".
    Code is :
    String strSPName = "{ call Test(?,?,?) }"; oracle.jdbc.driver.OracleCallableStatement cstmt = (oracle.jdbc.driver.OracleCallableStatement)MyConn.prepareCall(strSPName);
    cstmt.setInt(1, 001);
    String ClobData ="AMMA AAI MA";
    cstmt.setClob(2, (java.sql.Clob)ClobData); above gives error*/
    cstmt.execute();
    Can any body help.
    null

    Try using setCharacterStream (this should work in 816 I am not sure of prior Oracle/JDBC releases)
    String ClobData ="AMMA AAI MA";
    java.io.StringReader sr = java.io.StringReader(ClobData);
    cstmt.setCharacterStream(2,sr,ClobData.length());
    cstmt.execute();
    Good luck

Maybe you are looking for

  • Suggestions to Apple

    Anyone know if there is a way to make suggestions to Apple on features we'd like on future iPhones? I'd like a screen lock button similar to the ringer vibrate button for when I hand my phone to my son to watch his movies. He constantly touches the s

  • Can we assign two positios to a person with different CoCode

    Hi, We have a requirement where an employee is managing/working on a position under one Co.Code/OrgUnit 'A'. the same employee is managing/working on a position of another Co.Code/OrgUnit 'B'. The employees Payroll is genarated by Org.Unit 'A' where

  • Lost Info in NOTES app

    I installed the layest upgrade b4 my Iphone 4 had synched (I think).  The upgrade failed corrupting ITunes.  I had to remove ITunes and assoc programs then reinstall ITunes successfully.  I lost some very important info in my NOTES app.  Any way I ca

  • Price Tolerances in Purchasing

    Hi , Client has implemented R12.0.6 Purchasing and has set up the Price Tolerances Percentage and Amount on Purchasing Control Options at OU Level. Can he set this up at a different level like Departments or Inventory Organizations. Regards RK

  • I don't have the url bar at the top--is there a way to get it to appear

    I recently purchased a Mac desktop and when I open Safari, I don't have the bar to type in a web address.  Does anyone know how to fix this? thank you