Using Weblogic LDAP JAAS credentials for 3rd party authentication

Hello to all!
I'm posting this question because I'm developing a software layer that will connect a weblogic based web application, with LDAP authentication, to a 3rd party application, also with LDAP authentication, and I'm having difficulties in getting a <b><i>javax.security.auth.Subject</i></b> object from the weblogic server.
I already have a way of doing it, but it requires that a username and a password exist in some sort of storage, in order to work (either hardcoded (which is to be avoided as much as possible) or stored in a file (which is to be avoided if possible, but if nothing better exists...)).
I'm using a Weblogic 11g server, with LDAP authentication (LDAP provider placed in last at the provider list, with flag SUFFICIENT) and I'm developing the software layer using Oracle's jDeveloper 11g Release 1.
Now, this 3rd party application requires a <b><i>javax.security.auth.Subject</i></b> object in order to perform authentication.
How do I get this from the weblogic server ?
Of the following approaches, can you tell me which are the most correct ones ?
<ul>
a)<b>
    LoginContext lc = null;
    try {
        lc = new LoginContext("<JAAS instance name>");
        lc.login();
    } catch (LoginException e) {
        e.printStackTrace();
    javax.security.auth.Subject subject = lc.getSubject();
</b>
</ul>
<ul>
b)<b>
    LoginContext lc = new LoginContext("<JAAS instance name>"
        new MyClass.CallbackHandler(userid, password));
    lc.login();
    javax.security.auth.Subject subject = lc.getSubject();
    javax.security.auth.Subject.doAs(subject, myClassObject);
</b>
</ul>
<ul>
c)<b>
    javax.security.auth.Subject subjectA = weblogic.security.Security.getCurrentSubject();
    subjectA.doAs(subjectA, myClassObject);
</b>
</ul>
Thanks in advance,
Nuno B.

Here is a document on Monitoring and Reporting Tool Integration into Network Admission Control.
http://www.cisco.com/en/US/netsol/ns466/networking_solutions_white_paper0900aecd801dee49.shtml

Similar Messages

  • I am attempting to update students' iPads using the Apple Configurator software. However, information for 3rd party apps, like Notability and Explain Everything, is being lost.

    I am attempting to update students' iPads using the Apple Configurator software. However, information for 3rd party apps, like Notability and Explain Everything, is being lost.

    Mike,
    If by "still nothing" you mean they are not showing up in the AU manager after reinstalling them....
    Im guessing the AU Cache itself is now corrupted so.....
    Quit LPX
    Open Finder
    Press the option key and click "Go" in Finder's menu and select "Library". (This is the User Library and not the System Library and is normally hidden which is why you have to hold down the option key when clicking on Go.... to reveal it in the drop down menu that will appear)
    Go to "Caches" dir and remove "AudioUnitCache" dir.
    Now Restart your Mac.....
    and then Launch LPX and let it rescan your plugins and see if that fixes things....
    Fingers crossed...
    Nigel

  • ATP for 'Stock in transit' for 3rd Party scenario

    We have a scenario:
    For warehouse replenishments an STO is created and then a delivery is subsequently created for the STO. Once the delivery has been shipped out of the manufacturing facility (post goods issued) the materials on the delivery are transferred from unrestricted-stock at the manufacturing facility to stock-in-transit at the receiving warehouse. Once the stock is in transit to the third-party warehouses, ATP should then take it into consideration when deliveries are created from the third-party warehouses to customers.
    Now how to take the ATP check for 3rd party del. into consideration for STO?
    STO document type is UD
    Goods issue movement type is 641
    Goods receipt movement type is 101

    Some useful info here..
    http://help.sap.com/saphelp_47x200/helpdata/en/2b/b22d3b1daca008e10000000a114084/frameset.htm

  • BRFPlus - license with NW fundation for 3rd party - SAP PO applies ?

    Hi,
    I got the impression that in order to use BRFPlus we need to have SAP NW fundation license for 3rd party,
    does anyone know, if we have SAP PO (process orchestration) which has a restricted SAP NW fundation license for 3rd party
    (to be used only with BPM, PI and BRM), can we use BRFPlus from PI ?
    Thank you for any comments,
    Regards,
    Michal Krawczyk

    Hi Michal,
    no idea about the licensing question, but I think you need an additional license due to the Java stack, but this has to be answered by an expert of SAP.
    Concerning the usage of BRFplus from PI: The only way I know to use the BRFplus functions from PI is via webservices generated out of the functions.
    The other way round is a little more comfortable as you can use the BRMS Connector expression.
    BR
    Christian

  • Procedure for 3rd Party

    Dear Experts,
    We have some 3rd party vendor from where we purchase FG. And the transaction is like that we give PO to 3rd party. They pack the material as per our BOM provide in mail. Then they supply the material at our stock point and our stock point do the GRN. but in this case we are unable to track the BOM of some products as no production order or SAP activity is done at third end. So kindly confirm me how we should maintain the BOM for 3rd party without plant code generation,
    Or else suggest me how to do this transaction in the best way so that at any time we can be able to trace that so as so batches was packed in so and so packing material.
    Regards,
    Phalgun Patel

    Phalgun,
    It is unclear to me why you need to 'plan' a BOM for the Vendor.  In standard 3rd party processing, all you do is place a PO with the vendor, and the Vendor delivers the product directly to your customer. Batch numbers used are created by the vendor, according to the terms of your contract.  You are unconcerned how he internally plans his order, and he never actually sends his output to you.   He is solely responsible for procuring any RM or services required to fill your PO, and for fulfilling any batching and traceability requirements contained in the contract.  Any Doc you send to him about BOM is not for you to use for planning purposes, it is part of the contract specifications.
    So, can you be a little more specific exactly why the vendor is delivering material to you, and why you need a BOM.
    Best Regards,
    DB49

  • Code Signing for 3rd Party DLLs in MPR certfication

    Dear Team,
    I am currently performing MPR test with my Web Application using Windows Server 2012 R2 platform.
    While verifiying test results, i got failed in the validating digital signature for 3rd party binaries(DLL).
    The DLLs are Ajaxcontroltoolkit.dll, interop.Excel.dll etc.,
    Whether Signed DLLs are exists for Ajax Libraries?? If Signed DLLs exists for Ajax Libraries, is it advisable to request Microsoft support team for getting Signed DLL through mail? (or)
    Can i include this point as a waiver in document during test results submission??
    Regarding Interop DLL's is it advisable to include DLL's in waiver request document??
    Kindly review and suggest comments

    Hello,
    When an MPR Test fails due only to 3rd party binaries, please create a Test Results Package, upload to MPR site, complete and send a waiver for review.
    List all failing binaries in the waiver, grouping by their respective owner.
    Thank you,

  • Wht is Process Flow for 3rd Party Sales

    wht is Process Flow for 3rd Party Sales

    Customize the third party sales in summary:
    1. Create Vendor XK01
    2. Create Material u2013 Material Type as "Trading Goods". Item category group as "BANS".
    3. Assign Item Category TAS to Order type that you are going to use.
    4. A sale order is created and when saved a PR is generated at the background 
    5. With reference to SO a PO is created (ME21N). The company raises PO to the vendor.
    6. Vendor delivers the goods and raises bill to company. MM receives the invoice MIRO 
    7. Goods receipt MIGO 
    8. Goods issue
    9. The item cat TAS or Schedule line cat CS is not relevant for delivery which is evident from the config and,   therefore, there is no delivery process attached in the whole process of Third party sales.
    10. Billing      *-- Seema Dhar
    SD -  3rd party sales order Create Sales Order
    VA01
          Order Type
          Sales org, distr chnl, div
          Enter
          Sold to
          PO #
          Material
          Quantity
          Enter
          Save
    SD -  3rd party sales order View the PR that is created with a third party sales order
    VA01
          Order Number
          Goto Item Overview
          Item ->Schedule Item
    SD -  3rd party sales order View the PR that is created
    ME52N
          Key in the PR number
          Save
    SD -  3rd party sales order Assign the PR to the vendor and create PO
    ME57
          Key in the PR number
          Toggle the "Assigned Purchase Requisition"
          Execute
          Check the box next to the material
          Assign Automatically button
          Click on "Assignments" button
          Click on "Process assignment"
          The "Process Assignment Create PO" box , enter
          Drag the PR and drop in the shopping basket
          Save
    SD -  3rd party sales order Receive Goods
    MIGO_GR
          PO Number
          DN Number
          Batch tab , click on classification
          Serial Numbers tab
          Date of Production
          Flag Item OK
          Check, just in case
          Post
          Save
    SD -  3rd party sales order Create Invoice
    MIRO
          Invoice Date
          Look for the PO , state the vendor and the Material
          Check the box
          Clilck on "Copy"
          Purchase Order Number (bottom half of the screen)
          Amount
          State the baseline date
          Simulate & Post
          Invoice Number
          *Invoice blocked due to date variance
    SD -  3rd party sales order Create a delivery order
    VL01N
          In the order screen , go to the menu Sales Document , select "Deliver"
          Go to "picking" tab
          State the qty and save
    SD -  3rd party sales order Create a billing document
    VF01
          Ensure that the delivery document is correct in the
          Enter
          Go to edit -> Log
          Save

  • Moving average update for 3rd Party sales order

    Hello All,
    We have configured a 3rd party sales order process. The schedule line category is configured with account assignment categoory as "M". when we are creating GR the Moving average price of the material is not getting updated.
    But if i replace with "E" it is getting updated, but the CO-PA is not getting generated for Profitability segment reporting.--we need profitability segment reportng.
    Can some one tell me how we can update the moving average price using acc. asssignment category type "M" at the same time the Profitability segement information is updated.
    THanks in advance
    Appreciate your help
    Arpita Rani

    Hello Arpita
    For 3rd party orders functionality you need to use account assignment category of X and not M. E and M are for individual Purchase orders. You should not use them for 3rd party.
    Please see the following OSS notes  and follow along:
    210997 - Accnt assignment categories in third-party and indiv.PO
    550388 - FAQ: Customizing of third-party and individual POs
    Good luck.

  • "Software Update" for 3rd Party Apps?

    Hi,
    Does anyone know of an application that could act like Software Update for 3rd party programs, so that a list of updatable applications shows and you can select to download them all at once?
    I know some do an update check on launch, but I was just wondering if there was a more convenient way?
    Thanks,
    Ben

    Yes, but no. App Update is a widget that will check for updated versions of your apps. It can be found at http://www.apple.com/downloads/dashboard/status/appupdate.html. Unfortunately, it won't install them for you, but will give you links to websites where you can download the newest version. I use it and like it. Give it a try!

  • Can I use a USB camera with the 3rd party USB camera software and share screens?

    I want to do more than just use a USB camera w/iChat (or ichatusb).  I also need to be able to initiate screen sharing between two computers.  Specifically, I will use iChat with an insight built in camera on my end, and the other person will be using an iMac G5 PPC using a USB camera and the 3rd party USB software for USB ichat support.
    My question then is am I able to request screen sharing (taking over their screen) from my ichat/fw combo to their ichatusb/usb combo?
    thanks
    dc

    Hi,
    The Cameras don't come into this at all.  (But iChat and OS versions do)
    Each end needs iChat 4 or higher.
    Go to the Video menu and Enable Screen Sharing (Selecting toggles a tick On and Off (Tick Present is ON) )
    Highlight Buddy in list and use the Screen Sharing icon at the bottom of the list (interlinked rectangles).
    The G5 could be on Leopard (iChat 4) and be using a  USB 1.1 camera that would need iUSBCam (formerly iChatUSBCam) as well as the Camera manufacturers Software.
    iChat 3 (In Tiger OS 10.4.x) on the G5 with a USB 1.1 camera, Software and iUSBCam may well offer a Screen Sharing option (Or rather Desktop as Video Feed) in the iChat > Video Menu  and that will not work
    However if the G5 has USB 2.0 ports (not the Keyboard additional ports) then if it is up to OS 10.4.9 it can use a UVC Camera for Video Chats  (UVC = USB Video Class No need for Additional Drivers) but Screen Sharing will still be an issue due to the iChat version.
    IF the G5 is still on OS 10.4.x then you will have to use a third Party VNC app at both ends (And run a iChat Audio Chat along side)
    9:33 PM      Friday; September 2, 2011
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb( 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Early Warning for 3rd party software issues

    We have Vertex set up but have occasional timing, connection issues, etc.
    Does anyone have configured an early warning configured for 3rd party software?
    Looking for solutions or suggestions.

    Why can't Apple have their own interface for Windows mobile applications instead of having to purchase Mark Space.
    Hang on... Why should Apple provide their own interface for syncing Microsoft Windows Mobile-based phones? Microsoft don't provide support for Apple's phones do they?
    Microsoft have chosen to use their own proprietary and incompatible syncing methods to sync their own operating systems. It stands to reason you'd be able to sync a Windows Mobile-based phone with a Windows desktop OS.
    why have I got to purchase third party Nova software to sync my N95 8GB
    You haven't got to. Nokia provides their own support via a free iSync Plugin for that phone here:
    http://europe.nokia.com/mac/isync/
    If you're having problems with that, then Nokia are the people to contact - not Apple. But from your other post it appears you're having problems with installing it, not using it, and that's most likely because you've moved iSync.

  • SCCM Software Updates (and SCUP) vs. Application Management for 3rd Party Application Patching

    Hi,
    We're getting ready to tackle the phenomena known as Java patching, and I was wondering if I could get your personal preference; SCCM Software Updates (and SCUP) vs. Application Management for 3rd Party Application Patching?
    I probably should give a little background on my environment; It's a university atmosphere, so unless it's policy, you have to ask nicely...can't tell people to do things they don't want to; multiple version of required versions of Java for what ever reason,
    which need to be identified, grouped together, and then upgrade as much as possible without breaking their old applications.
    I was thinking that Application Management probably made more sense where it is more robust, especially for removing multiple installs of Java on a single system, but Software Updates/SCUP looks like it was built for this type of patching, so I'm a bit confused
    why SCCM would have two components which essentially did the same thing.
    Your thoughts?
    Thanks,
    Bill

    For Java version management specifically you can already achieve a lot by using the Application Model in CM12.
    You can define supersedence between the different versions, just make sure to opt for uninstall of the older version when defining it.

  • End to End Monitoring confiuguration for 3rd party systems

    Hi,
    I have been trying to racking up materials for end-end configurations for 3rd party systems and can't find any..All the ABAP  systems are perfectly configured in our End-End Monitoring system but can't find any of the third party systems..Is there a seperate method to configure 3rd party systems?
    -Teresa

    Hi Teresa,
    You can't include 'Third Party' systems in end-to-end monitoring. We had raised a SAP note for the same and below is SAP response..
    "End-to-end monitoring stands for the functionality included as of 6.40 that enables you to track XI messages accross several systems. This functionality can be configured for all components that are able
    to contribute information to this process monitoring, i.e. only SAP systems can be configuered."
    Also check this from online help..
    "The Runtime Workbench receives the data for end-to-end monitoring from the Process Monitoring Infrastructure (PMI), which is an SAP monitoring tool for monitoring end-to-end technical processes involving multiple SAP components."
    http://help.sap.com/saphelp_nw04/helpdata/en/82/9e8dfe9eadbd4b9194c433e646b84e/content.htm
    Regards
    Anand

  • 1)    Is there North Bound Interface / API from SAP Solution Manager available for 3rd party integration?       i. The list of the modules that are being managed by SAP Solution Manager(s)      ii. The performance metrics of those modules/components at th

    1)
    Is there North Bound Interface / API from SAP Solution Manager available for 3rd party integration?
    i. The list of the modules that are being managed by SAP Solution Manager(s)
    ii. The performance metrics of those modules/components at the high level
    iii. The information about Early Watch Alerts (or situations to watch for)
    2)
    Is there a full SNMP interface for getting the above information from SAP Solution Manager?
    3)
    Is that understanding that SAP has SNMP support for forwarding alerts to a 3rd party system, correct?
    4)
    Does SAP has both free and licensed? If yes then what are the advantages of licensed over the open/free version?

    Mugunthan
    Yes we have applied 11i.AZ.H.2. I am getting several errors still that we trying to resolve
    One of them is
    ===========>>>
    Uploading snapshot to central instance failed, with 3 different messages
    Error: An invalid status '-1' was passed to fnd_concurrent.set_completion_status. The valid statuses are: 'NORMAL', 'WARNING', 'ERROR'FND     at oracle.apps.az.r12.util.XmlTransmorpher.<init>(XmlTransmorpher.java:301)
         at oracle.apps.az.r12.extractor.cpserver.APIExtractor.insertGenericSelectionSet(APIExtractor.java:231)
    please assist.
    regards
    girish

  • My bank (Chase) and my wife's payroll provider (ADP) say I can longer pull our statements because of incompatibilities between Adobe Reader and Safari. The Apple site says it is not responsible for for 3rd party software. Adobe says go back to Safari 5.0.

    My bank (Chase) and my wife's payroll provider (ADP) say I can no longer pull our statements because of incompatibilities between Adobe Reader and Safari. The Apple site says it is not responsible for for 3rd party software. Adobe says go back to Safari 5.0. Apple dosen't let me download Safari 5.0; so what do I do. The bank had me download Chrome, and I can now download my statements. but what a pain. Any suggestios?

    Back up all data.
    Quit Safari. In the Finder, select Go ▹ Go to Folder... from the menu bar, or press the key combination shift-command-G. Copy the line of text below into the box that opens, and press return:
    /Library/Internet Plug-ins
    From the folder that opens, remove any items that have the letters “PDF” in the name. You may be prompted for your login password. Then launch Safari and test.
    If you still have the issue, repeat with this line:
    ~/Library/Internet Plug-ins
    If you don’t like the results of this procedure, restore the items from the backup you made before you started. Relaunch Safari again.

Maybe you are looking for