Calling third party application that needs the HttpServletRequest parameter

Hi,
I am doing the customizations to the Webcenter portal(since the issue is specific to ADF, I am posting the thread in this group) wherein I need to invoke a Java API provided by third party. That Java API expects the HttpServletRequest parameter.
To obtain the HttpServletRequest , I used the below code: -
FacesContext context = FacesContext.getCurrentInstance();
HttpServletRequest request =
+(HttpServletRequest)context.getExternalContext().getRequest();+
Besides, I need to set some parameters to the request, as the API needs those parameters to connect to the 3rd party application. Hence I have set the attributes as below: -
request.setAttribute("HttpProxyHost", "https://thirdparty.com");
request.setAttribute("HttpProxyPort", "2021");
request.setAttribute("HttpProxyUser", "abcd");
request.setAttribute("HttpProxyPass", "efgh");
The call to the API works fine when tested standalone. But after deploying this to the application, I see the following issue.
The ADF application interacts with other 3rd party applications too. Once the above code is executed, the application is trying to connect to the above host(https://thirdparty.com) only for the subsequent requests from any user of that application, even if the actual call is meant to connect to different hosts.
Can I create a custom servlet class to invoke the Java API? If so, how can I call that servlet API from my ADF managed bean?
Even if I create a custom servlet, the parameters that I set like HttpProxyHost will persist, right?
Please provide any suggestions
Thanks,

Hi,
1) what is the problem you think makes this specific to ADF?
2) Have you tried : http://docs.oracle.com/javase/tutorial/networking/urls/connecting.html
Your requirement of changing a request that is in process sounds weird to be honest
Frank

Similar Messages

  • Third party routers that need no firmware update

    What are the best third party WiFi routers with LAN ethernet ports that need no firmware update to work with 10.4.8 and Windows XP?

    Actually the extra ethernet ports is paramount.
    Otherwise you don't know who is being secure to
    whom. You end up having two routers to setup for
    configuration of security. Simplicity is
    important, since I want to be able to help set it up
    for the friend, and forget it.
    ?? That doesn't make any sense - I think you're missing something fundemental here. The extra ethernet ports are on the LAN side of the secure connection. The firewall in the router isolates the internal, LAN network (wireless + ethernet) from the external WAN (aka the big bad internet). Whether or not you have a switch attached to one of the LAN ports makes no difference, security-wise - you are in control of the devices connected to the LAN side of the router. WEP/WPA/WPA2 security controls who is able to connect to the wireless LAN.
    From a security standpoint, there is ABSOLUTELY no difference between buying a router with eight lan ports and buying a router with four lan ports plus plugging in a five-port switch to one of the lan ports. It's exactly the same thing.
    What you don't control is the WAN side of things - the internet itself. You certainly wouldn't want to connect the switch to the WAN port on the router, at least not unless you wanted to run, say, a web server that is exposed to the internet itself. This wouldn't be a good idea in any case - there are better ways to set this up as well (either by setting up a DMZ, or by setting up port forwards)
    There is absolutely no reason why you would want or need two routers for this setup - this is only an issue for extremely large networks.
    The WRT54G has 1 WAN port and four LAN ports. You can have four hardwired devices (computers, printers, switches, etc) on these LAN ports - they are protected from the internet by the firewall in the router. You can also have any number of wireless devices on this same router; these, as well, are on the LAN side of the router, and are therefore protected.
    Adding a switch to the LAN side of the router has absolutely no impact on security. No additional routers would be required.

  • Could someone tell me what the Third Party application is for the SAP Wiki?

    We are reviewing Wiki applications and currently own the SAP Portal.  We are looking at Confluence and HLP and I am wondering if this is the same product that will be available in the SAP Portal next year?

    Hi,
    Check this:
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/9147
    It looks like Clearspace is the Wiki technology that is used.
    Regards,
    Praveen Gudapati

  • Third Party Application Called TuneUp Lost Ringtone Icons/Ability to Buy

    Okay, I purchased and installed a third party application that is supposed to help iTunes get album art and other things. All was going well until i did their latest, greatest update and now I cannot see any Ringtones icons in the field that shows if ringtones are available in iTunes purchased songs. I still have my "purchased ringtones, but I don't have the ability to purchase anymore on songs that are eligible.
    I've uninstalled TuneUp, reinstalled a fresh version of iTunes, but still not joy. How to I burn iTunes to the ground without losing my entire music library?

    Right that is the point. I had a whole slew of eligible songs purchased from iTunes in my library that now are not available for purchase. For example I just purchased two songs that have the icon in the iTunes store. After I purchase them the icon in the "Bell" ringtone column is not showing for the songs that should be eligible. The only recent change I've made is this third part application. So I am thinking this has messed with my library somehow.

  • Third Party Applications for Frontrow.

    Hi Guys,
    Will Frontrow run RMVB files or MKV's ( For HD stuff and foreign language films ) Will a Mac play an SRT or SAA subtitle file or any other non-DVD subtitle file? Is there a VOB sub equvilent for the Mac?
    Are there any third party applications available for the Mac and Frontrow such as.. www.mymovies.dk for media center? Allowing you to view the DVD cover art, read profiles of the actors in the movies, find other movies in your collection with them starring in, watch trailers of the movies, sort by Genre, year, by whether you have watched it yet or not, by anything you want basically.
    Thanks for your help guys,

    Are there any third party applications available for the Mac and Frontrow...
    Apple has not released a "SDK" for Front Row (Software Development Kit). So, only Apple knows how to tie-in to the Front Row interface. This is a user-to-user forum, so none of us really know, but I doubt Apple will open Front Row for third party developers directly.
    There are other options for media players. You might take a look at .
    Allowing you to view the DVD cover art...
    Standard warning: It's against the Terms of Use of the Apple Discussions to post about ripping DVDs to your hard drive. With that said, the current version of Front Row will play VIDEO_TS folders if they live in your user's "Movies" folder (or there's an alias to their location inside your "Movies" folder). If you include a file called "preview.jpg" inside the VIDEO_TS folder, this image will be used by Front Row as the preview image.
    -Doug

  • Unable to delete third party applications

     I have several third party applications that i want to delete on my 8320 Curve. I've read many forum posts on the several ways of deleting them and i have hit a brick wall:
    1. The applications are not visible in Advanced Options > Applications, however their modules are when i choose to view > Modules. However when i select the modules which i want to delete, there is no delete option. (The option is there for other applications which i dont want to delete!!)
    2. Several of these applications were installed via PocketMac for Blackberry, and even those will not delete when i choose the uninstall option.
    Is there any way of getting rid of these third party applications without resetting my Blackberry, or the use of a Windows program?
    Thanks in advance.

    Hi...
    You can backup your entire device and reload the os. Using the application loader, you can uncheck third party apps once you start the application loader and reload the device. You can use a third party tool like JL Commander to wipe the device prior to the reload and then reload the OS and then be given the opportunity to load what you want. You will have to make sure you have the latest OS that your provider has posted on the RIM download site.
    Good luck...
    H.
    +++++++++++++++++++++++++++++++++++++++++++++++++
    If successful in helping you, please give me kudos in my post.
    Please mark the post that solved it for you!
    Thank you!
    Best Regards
    hmeister

  • Migrating third-party applications from 4.x to 5.x

    Hi all.
    My customer wants to migrate its CUCM 4.1.3 to 5.1.3. He has some third-party applications that read CDR's and process the information. I've heard that in version 5.x it's not possible to directly access to CDR in order to obtain the required data but you have to use the CAR tool. Is this true? Or you can use Informix commands via a third-party application to access the information at CDR's?
    Thanks for your help.

    The CDR records are stored in flat files and then FTPd or SFTPd to your choice of up to 3 billing servers.If you upgrade from Cisco Unified CallManager 4.x, Cisco Unified CallManager saves the CDRs in the CAR database to CSV files. The Data Migration Tool uses these CSV files to upgrade the CAR database. The system stores the CSV files in /common/download/windows/car. The system stores the pregenerated reports in /common/download/windows/pregenerated.
    Because Cisco Unified CallManager 5.x does not use a CDR database to store CDR records as in previous releases, the CDR data does not migrate to the Cisco Unified CallManager 5.x system.
    http://www.cisco.com/univercd/cc/td/doc/product/voice/c_callmg/5_0/service/serv504/car/carovrvw.htm#wp1102412

  • Third-Party Application for Historical Reporting

    As we migrate from our current version of UCCX Premium 7.0(1)SR05ES06_Build063 to version 8.5.  We will be migrating the data over to new hardware.  We are concerned about reporting.  We currently have a lot of custom reports and we are uncertain how those will work after we migrate to the new database platform.  Can anyone recommend some third party applications that could give us more functionality that what the current and new versions have to offer?

    Hi Tracy
    I can't really comment on third party products, as I'm not familiar enough with any in particular.
    However - I have done a lot of migrations from Windows to Linux including custom reporting. The database schema is mostly identical, so migrating any of your reports should be possible. It's a little tricky as you have to know both MS SQL and Informix...  The Crystal templates themselves generally just work once you have done the SQL stuff and modified the XML report definitions.
    Aaron HarrisonPrincipal Engineer at Logicalis UK
    Please rate helpful posts...

  • Can't visit internet for third party applications

    I have an unlocked Blackberry 8900, now I am using Chinese Mobile SIM card in China.
    Now I am confused that sometimes it can't visit internet (I am using edge data plan of China mobile) with other third party applications (I mean the application is not from RIM, like UC browser, gmail). Most of time these third parrty applications work well, but sometimes, these third party applications can't visit internet via edge, but Blackberry browser is working well. I have to take out battery and reboot the device.
    My OS verison is v5.0.0.822, bundle 1385, platform 5.2.0.76
    Today I saw below message when application could't not use  edge.
    Reason
    net.rim.device.api.io.connection
    closedException: stream closed.
    How can I solve the problem?

    Yes - you can do it via Terminal or do as I do - use TRIM Enabler.
    Just be aware that each time you update your System software (from 10.8.1 to 10.8.2, for example) you'll have to enable TRIM all over again. Not such a big deal.
    Clinton

  • Third party application for C7 images

    How can i use a third party application to read the exif data of a C7 image stored on my computer? How to get the suitable third party application in the first place?

    You can access EXIF data upon your C7-00 using Resco Photo Viewer, which is not however what you were asking for.
    Happy to have helped forum in a small way with a Support Ratio = 37.0

  • You have installed a third party application called CTLoader. You need to remove it.  /Library/Application Support/Conduit  /Library/InputManagers/CTLoader  /Library/Receipts/ctloader.pkg  /Library/Receipts/ Toolbar name .pkg  /Library/Application Support

    Could some one help me out how i get to /library/application
    If have found below the solution but don't know how to get there ? I am from the netherlands so please be easy in your words so that i could understand it.
    you have installed a third party application called CTLoader. You need to remove it.  /Library/Application Support/Conduit  /Library/InputManagers/CTLoader  /Library/Receipts/ctloader.pkg  /Library/Receipts/<Toolbar name>.pkg  /Library/Application Support
    Thanks for the effort !
    Peter

    Open the Finder. From the Finder menu bar click Go > Go to Folder
    Type or copy paste the following:
    /Library/Application Support/Conduit/Library/InputManagers/CTLoader 
    Click Go then move the Conduit/Library/InputManagers/CTloader file to the Trash.
    The same for /Library/Receipts and /Library/Application Support
    Check these folders as well.
    /Library/InputManagers/CTLoader
    /Library/ScriptingAddtions (anything CTLoader realted)

  • How to call the RFC's from the third party applications or Non SAP applicat

    Hi,
    For calling RFC's from the wedynpro , SAP has provided the modeling concept.
    In the same way, if i want to access or call the RFC 's from the third applications or Non SAP applications what is the procedure and what is the methodoligy.
    As per my knowledge, we need to expose those RFC's as webservices . Then we must be able to acces in hetrogeous environment from any third party applications..
    Please revert back soon, It is very urgent.
    Regards
    Vijay

    Ayyappa Raj,
    Thanks for the reply.
    Please let me the detailed information for implementing.
    AS you said . I need expose the RFC's as webservice. This point is clear to me.
    2) Use tthe JCo to connect and create client proxy.
    Can u please elabrate the above point?
    If u have any steps created in the document or url to refer. Please forward it to me.
    Please forwar the document to this id "vijay00" in yahoo.
    AS the sdn is not allowing to give  the maill id i have given only the id details in yahoo.
    I am new to this procedure.
    Regards
    Vijay

  • I'm trying to find an external drive for the MacPro that will allow me to password protect the external drive in case it is taken.  Any suggestions on a very reliable on that is 2TB or a third party software that is compatable with the need I describe?

    I'm trying to find an external drive for the MacPro that will allow me to password protect the external drive in case it is taken.  Any suggestions on a very reliable one that is 2TB or a third party software that is compatable with the need I describe?

    How much of a hurry are you in, and are you considering upgrading to Lion?
    File Vault on Snow Leopard only encrypts home folders you select, and doesn't work well with Time Machine.
    But Lion will have "full disk encryption" of local or external disks.  See File Vault 2 here: http://www.apple.com/macosx/whats-new/features.html

  • Error message: The preset used by one or more sequences in this project requires third-party components that could not be located. These sequences will be modified to use a custom sequence setting instead. To continue editing using the original preset, qu

    Hello all,
    I can't open a PP project without this error message appearing:
    "The preset used by one or more sequences in this project requires third-party components that could not be located. These sequences will be modified to use a custom sequence setting instead. To continue editing using the original preset, quit the application without saving the project, reinstall any third-party components that are required and reopen the project".
    What I had been doing before this occurred was editing a PP project using ProRes sequences and multi-camera editing. Multi-camera was not working very well and after a few attempts to fix that I gave up and finished the job cutting 3 layers of video instead. AME refused to render the three finished sequences of over 1hr duration so rendered final videos from the PP sequences.
    I tried deleting plists for AME, PP and QT, repairing disc permissions and rebooting but there was no improvement.
    Client is satisfied for now but will want to come back to this job at a later date so decided to uninstall and re-install AME and PP in the hope both would be ready to work properly when needed again. AME works fine in conjunction with a different PP project but now I can't open the PP project in question without the above error message appearing.
    Having searched the net it would seem that the problem may be caused by ProRes but I haven't been able to find a definitive solution for the problem. Does anyone know either:
    1. How to fix this?
    2. If I chose the "modified using a custom sequence setting", can I be sure that my sequences will look the same even if they don't use ProRes? The final deliverable format will be mp4 so as long as the overall look doesn't change then I can  afford a change in the edit codec. It's just that with three sequences over an hour long, I don't want days of work to be ruined.
    Other older PP projects of mine open and work fine.
    Premiere Pro CC 8.2.0
    Media Encoder CC 8.2.0.54
    OSX 10.10.2
    Any help would be greatly appreciated.
    Duncan.

    Adobe web chat come up with a solution.
    Open the PP project.
    Export your sequence or project as a Final Cut Pro XML file.
    Set up a new PP project.
    Import the Final Cut Pro XML file.
    This will get you back up an running.
    Since getting back to editing this project I have found that some things will be lost or change in using XML:
    You will lose position key framing, black video clips, dissolve fx, audio levels, audio dynamic fx, the ability to open a multi camera clip and change the camera view.
    You will keep cut points, crop fx.
    Not perfect but only took a couple of hours to save 3 days work.

  • How to customise the URL on endsession button and point it to a third-party Application?

    Hello ,
    I have a scenario where i want to redirect to a third-party application instead of OPA summary screen on hitting the close-->end session button.
    How to customize the URL behind the end session button to point to the third-party URL?
    Thanks,
    Charu

    You can use velocity templates and javascript to achieve what you need.
    Update confirm_end_session_screen.vm to
    1. dynamically call the end session URL using ajax(?) to actually close the active OPA session
    2. redirect user to the third-party application when the OPA session is closed

Maybe you are looking for

  • BW upgrade from 3.x to BI 7.0

    Hello BI experts, Could you please let me know how will we plan the BW upgrade? It would be better if somebody can give me steps. Answer will be appreciated and rewarded with full points. Thanks and regards, Harry

  • Working with Raw files in Aperture

    I bought a DSL are camera recently and have been shooting RAW Naturally my library is filling up with raw files My question is - when I want to export a very high quality image how do I get it out of Aperture and keep it as a large ihigh-quality imag

  • Unable to change Active Directory password on OSX

    I'm working IT in a Windows environment with Active Directory services. We have some Macs in the environment, mostly running 10.8, but all definitely running 10.6.8 or later. The issue lies with changing passwords. When a user attempts to change his

  • Change line width in Apple Mail?

    Is there a way I can change the line width in the e-mails I write? Maybe a plug-in?

  • DRAM Clock Settings and SDram Cas latency

     : 8o Just got my KT3 ULTRA 2 Socket A Motherboard. When I turn on the computer, in the POST test it says: DRAM Clock = 266MHz SDRAM Cas Latency = 2 I checked the cmos and the latency is set at 2 , but what about the DRAM Clock? Please help for I am