How to pass back Subject do Client app after authentication via identity assertion

I have developed an Identity Assertion Provider based on
SampleIdentityAsserterProviderImpl provided by BEA.
It seams that all works fine, but I don't now how to pass back authenticated
Subject to client application in order to call methods runAs(Subject,
PrivillegedAction). I have tried build Subject from
connection.getInputStream() but when I use Subject constructed in that way I
have received an error:
lava.lang.SecurityException: Invalid Subject: principals=[user, usergroup1,
usergroup1]
Thanks in advance for any suggestions.
Jerzy Nawrot

Hi,
as per the below comment.
We want to change this and do this dynamic way so that the XCM configuration application can read these dynamic parameters and behave accordingly(like customers with different languages, client systems etc). This is the 1st part .
You have to use different scanrios to be set in XCM like (customer specific to language, and client), and that to be passed in
Where language specifications should maintained in XCM settings only. also to be noted that Product catalog for those should also maintain in that specific language.
"/init.do?scenario=value2;
The 2nd part leading this scenario is after the portal user successfully lands into ISA application, if the user needs to go back to the WDP java screen, would the JSP based ISA application be able to navigate back to the original WD Java iView Screen. ? or would it open in a new window ? (probably this can be set to be launched in same window)
I am not sure, but if you go back to WD from ISA , ISA Session will die.
Let me know if you have any further queries.
Regards,
Devender V

Similar Messages

  • How to pass back object to client?

    Forgive me if i ask too stupid question, but I really confuse what is really happen when it is not working.
    Firstly, client A pass several objects to the server one by one, and the server will have to wait untill another client (let call it client b) able to process this object, and pass it back to the client a.
    This object include some data that need to compute and save the result back to the object.
    In this case, I have write the code to enable the server to callback client a, when the object is processed. Rather then put it in a while loop to wait the result coming back.
    But I have difficult to trace back the original client. It cannot find client A and update the object.
    I already read the Stock, Time example (which is in Sun website), and follow it to develop my program, but I still cannot get it right.
    Does anyone know have any reference that I can look at or give some suggestion that can help.
    Thank in advance and wish you have a good day.
    Regards,
    Tai Tan

    Really thank you for your help.
    But i still unable to get it right.
    Can I ask you few more questions. thank.
    Can I know what the 'this' in the your example mean?
    try
       UnicastRemoteObject.exportObject( this );  //what is 'this' mean?
       obj = (Hello)Naming.lookup("//" + ser + ":5000/Server");
       message = obj.sayHello( this );  //what is 'this' mean?
    catch (Exception e)
         System.out.println("HelloApplet exception: " +
          e.getMessage());
         e.printStackTrace();
    }because the client program is not extends Applet, so if i put 'this' in the above 2 lines, it will not accept by the compiler.
    one more question, I put the client class in the first 'this' means:
    UnicastRemoteObject.exportObject( jobClient jc );  and passing second object in the second 'this':
    //message = obj.sayHello( this );
    mytemp.submitJob(jb1);
    // Note: mytemp is : 'static mainServer mytemp';
    // which is a remote object of the serverSo, is this the correct way to export the stub and object?
    (In the example that you give, the 'this' is the same. But in my program, the second 'this', I have to call submitJob(jb1) in the server, and passing the jb1 ( is a serialize object name call jobThread.)
    Thank again and sorry for giving you such trouble.

  • How to pass UserID to the view object after authentication?

    Hi,
    I am developing an application using Oracle JHeadstart 10.1.3 Version 10.1.3.0.83
    I have a view where all clients' data are. But when a client logs in he/she should see only his/her data, he/she should not see other clients' data.
    So after logging how I can pass his/her UserID to the view? We are planning to use the OID for authentication. So when the client logs in with his/her user id, I want to pass that user id to the view so that the view query will return only the records associated with that client.
    Any help would be appreciated
    Thanks
    Syed

    Syed,
    Although not fully documented yet in the Devguide, 10.1.3 still ships with basically the same security code that we had in 10.1.2. I suggest reading the security section in Chapter 5 of the 10.1.2. Devguide to get an idea of how that would work. Basically, it boils down to setting a JhsUser object on the session that you can access in the Model through the JhsApplicationModuleImpl.getUser() method.
    Using the user in a whereclause could be done programmatically by altering the whereclause of a VO on the "executeQueryForCollection" method, but you could also use a bind variable and then bind it to the JhsUser object on the session through an EL expression like #{jhsUser.displayName}
    Hope this helps,
    Peter Ebell
    JHeadstart Team

  • HT4972 How do I back up my music, apps, & books so I can update to 5.1.1 ?

    How do I back up my Music, apps, and Books, so I can update to 5.1.1 ?

    You can copy iTunes purchases (which includes apps, music, films, ibooks etc) off the iPad to your computer's iTunes via File > Transfer Purchases (you may also want to copy photos off the iPad as well) and then force a backup of the iPad by right-clicking the iPad 'Device' on the left-hand side of iTunes and selecting 'Backup'. For music from other sources (including CDs), then if they aren't already on your computer's iTunes then you will need to find a third-party program that can copy them off.
    You may also want to copy off the iPad any important documents, notes, files etc e.g. via the file sharing section at the bottom of the device's apps tab when connected to iTunes, via wifi, email, dropbox etc - they should be included in the backup, but it's best to have a copy of them outside of the backup just in case.
    Updating to iOS 5+ : http://support.apple.com/kb/HT4972

  • My computer crashed, had to reinstall itunes so cant sync my ipod touch 4g. How do I back up all my apps and music so that I can update to ios5?

    Hi my computer crashed, so had to reinstall itunes now I cant sync my ipod touch 4g. How do I back up all my apps and music so that I can update to ios5?
    Thanks
    Ben

    - Transfer iTuns purchases:
    iTunes Store: Transferring purchases from your iPhone, iPad, or iPod to a computer
    - Transfer other music by using a third-party program lke one of those discussed here:
    Copy music from Ipod to new computer...: Apple Support Communities
    - Connect the iPod to the computer and make a backup by right-clicking on the iPOd under Devices in iTunes and selecting Back Up.
    - Restore the iPod from that backup. That should also get you the update.
    - If in the USA, you can also redownload most iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • I have iphone 4 with iOS4.0, how to revert back version of facebook app?

    I have iphone 4 with iOS4.0, how to revert back version of facebook app version because i am not able to use facebook 5.0 in my iphone?

    That depends. If the phone was unlocked by the carrier, then it should be fine.
    If your phone was unlocked by unauthorized means, then yes, it will be locked again.

  • How do I open and use this app after I have paid for my subscription? I previously downloaded Primeir Pro CC for the trial and when I try to open the app it says my trial has ended and there is no other option to sign in and use the app?

    how do I open and use this app after I have paid for my subscription? I previously downloaded Primeir Pro CC for the trial and when I try to open the app it says my trial has ended and there is no other option to sign in and use the app?

    Remove all current Adobe software.  Download Adobe Cleaner Follow instructions.

  • How to pass back results of gATP from APO to R/3

    Dear all,
    we're currently working on a gATP implementation and face following open challenges for which we kindly ask you for your valuable support:
    1.) We need to pass back the allocated CVC of the gATP (product allocation) check from APO to z-append fields of VBAP. In order to do that we implemented additional field catalog fields which are updated in one of the product allocation userexits on APO side. Using an enhancement of form MVERF_PRUEFEN in SAPFV45V the data which is passed back from APO to R/3 via field_catalog can be written into the respective VBAP fields. ONLY: this doesn't work for a "complete delivery only" customer/order as MVERF_PRUEFEN is not called in such a case.
    ---> Do you have any proposals where/how to implement the functionality to write back the results passed back by APO into VBAP fields?
    2.) In case of incomplete confirmation (not enough qty) the "APO Product Availability Overview" screen appears. We do not want to show this screen in APO to our users. There should be just a warning message but not this full screen. Do you have any ideas how to turn off the screen (similar to what happens if the order is posted in background)
    Thanks again for your great input and help!
    M.

    Dear Mohan,
    thanks for your reply.
    We actually use the functionality you described already for passing the required additional information from R/3 to APO. What we're currently searching, is a solution to pass back results (such as the allocated CVC or additional information from APO) from APO back to R/3 and store it there in VBAP-appends.
    Thanks,
    Maawdee
    Edited by: Maawdee on Jun 25, 2010 9:18 AM

  • How do I back up contents of apps such as notes and office docs on my PC so that in the event of my ipad failing I can use these docs on my PC (windows op system)

    How do I back up the contents of apps such as notes and office docs on my ipad to my PC ( windows op system) so I can use them on PC if my ipad fails?

    You can use File Sharing in order to transfer the Word documents and the notes depending upon what apps you are using. Take a look at this.
    iOS: About File Sharing - Support - Apple
    There are file transfering apps like this one.
    File Manager - Folder Plus on the App Store on iTunes
    You can always email files as a last resort type of thing. That may not be practical depending upon the number of files that you have.

  • How can I back up all my apps in IPad 2 ?

    I need to back up all my apps from my ipad2 and thanks / because of a glitch in the operating system I had a an dollar account in Tanzania (weird I know) and apple cannot give me access to my apps to download again (should they be deleted or I upgrade) as I live in the k and now have a UK apple App Store account in sterling for purchases.
    Please assist as all my dollar purchases are gone in the apps store purchased page. Apple support even managed to delete all my sterling k apps store purchases now too. It has been a nightmare.

    How to Backup
    http://support.apple.com/kb/HT1766

  • How to connect back a disconnected client on an rmi server

    I am making a client -server rmi game .
    if a client get disconnected (throwing a remote exception on the server) how can I
    have some other client or same client continue from the the same point as it got disconnected.
    it obvioulsy requires state preservation but how?

    well actually I am making a game.
    if a player logs out during the game , when the server
    tries to pass it information it gets a remoteexception at the server.
    What I need is that any other player could replace this loggged out player and should get the latest state of the game ie latest score (while other players coud play as much as they can without him) , latest turn etc.
    The game is coded in an object which contains the lates turn and score etc, but how do I give it out to a new player joining in the middle of the game?
    Also if the server keeps thrwoing remoteexceptions ,
    it might hang or might haveto be shut down to be restarted.

  • How can I restore the previously bought apps after I have formatted my computer without backing up any of my files for iTunes?

    As titled.
    I bought many apps from iTunes at the end of last year, and then my computer had got problem that I had to format and reinstall everything.
    I just want to know how can I restore the previously bought apps once if I forgot to backup any of my files on the computer??
    Would be really grateful if someone can show me how to. Thanks!!
    FYI: At that time I was using iPad 1 and the OS was still 3.1.x. Now I am using iPhone 4 and would like to restore the apps at least those that are compatible to my phone.

    How to redownload purchased apps from the App Store

  • How to get back music and video conent after updating ipod

    I have recently updated my ipod touch. And when it restored tmy stuff back it only put back my photos and apps, but deleted my music and videos. I already tried restoring form an back-up and it did not work. please help, that was a lot of music.

    The backup that itunes performs does not include any itunes content.
    If for some reason you have failed to transfer any purchases to your computer before updating ( as you always should), then you will have to redownload whatever you can:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • How do I back up iPhone and apps to an external hard drive?

    Hi -
    I have a very small internal hard drive in my good ol' G4, so I have my iTunes music library on a 160 GB external (I'm backing the library up to a second external).
    I have such limited space on my internal that I want to back up my iPhone and my wife's iPhone to the 160 external, but I can't seem to figure out how. All the apps land in Users > (myaccount) > Music > iTunes > Mobile Applications. I'm familiar with the iTunes Preferences > Advanced function where you change the location of your music library, but I haven't been able to get this to work for iPhone apps.
    Also, when I back up my wife's phone, any applications that I've downloaded directly to my phone and then later backed up are being loaded into her phone. How do I prevent this?
    Thanks a lot for some help.

    You can just copy the app files in the folder where they are stored and move them over.
    If apps you downloaded are getting put on your wife's iPhone then it sounds like you only have one iTunes account for both of you. With your wife's iPhone connected go to the application tab and uncheck apps she doesn't want.

  • How to pass Username dynamically in Oracle Apps Adapter .jca file

    My BPEL process uses Oracle Applications Adapter. The following is the .jca file for the Adapter.  The Username is initialized statically to "sysadmin" when I created the Adapter. How can I change this to be passed dynamically at runtime? Can I use an EL Expression or an XPath variable. If so how to do and what the correct syntax is?
    Is it possible to pass in the username from the OWSM Security policy for the username value below? If so how to do? I appreciate your response.
    <adapter-config name="EBSAdapter" adapter="Apps" wsdlLocation="../WSDLs/EBSAdapter.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
      <connection-factory UIConnectionName="EBS1" location="eis/Apps/EBS1" UIConcurrentPgmName="" UIOracleAppType="DBOBJECT"/>
      <endpoint-interaction portType="EBSAdapter_ptt" operation="EBSAdapter">
        <interaction-spec className="oracle.tip.adapter.apps.AppsStoredProcedureInteractionSpec">
          <property name="SchemaName" value="APPS"/>
          <property name="PackageName" value="INTG"/>
          <property name="ProcedureName" value="GET_USER_PROFILE1"/>
          <property name="IRepInternalName" value="PLSQL:INTG:WEBCENTER_GET_USER_PROFILE1"/>
          <property name="Username" value="sysadmin"/>
          <property name="Responsibility" value="System Administrator"/>
        </interaction-spec>
      </endpoint-interaction>
    </adapter-config>

    1. Go to Invoke activity
    2. Click on Properties tab.
    3. click Add
    4. Add this property "jca.apps.Username" and map it with either variable or expression.
    5. Populate variable defined at previous step with some valid username value at runtime.
    hope this helps.
    Regards,
    Karan
    Oracle Fusion Middleware Blog

Maybe you are looking for

  • Yahoo email - Updated date/time stuck

    Odd one... for starters, Yahoo push does not work at all for me... no big deal though, I just check it periodically.. Here is the odd part. Since Monday, when I check my mail, it does receive mail, however, when I look at the time at the bottom for l

  • Plug Ins for logic 8

    hi guys..i got a question..i am currently running lp7.2 but am about to upgrade..i got lots of virtual instrument plug ins that work on 10.4.4...my question is when i upgrade into leopard and lp 8..will these instruments work?..and the second questio

  • Why is the new Safari (7) not letting sound be heard from Soundcloud widgets (players) on my website when the earlier Safari worked fine, and other browsers also work fine?

    Why is the new Safari (7) not letting sound be heard from Soundcloud widgets (players) on my website when the earlier Safari worked fine, and other browsers also work fine?

  • FuzzyTime

    EDIT: looking for anyone wishing to help me with translations (no programming knowledge required) EDIT: (v0.6+) now with timer mode: Example use: Say you have fuzzytime piped to your status bar and it serves as a usual clock applet. Then you got an e

  • Server Object model Vs Search object model

    Hi , Is it preferred to use sharepoint sever object (powershell) model over Search object model for large data as search has dependency on crawling. Swati SP Page: http://www.facebook.com/SharePointQ SP Blog: http://swatipoint.blogspot.com