Authentication issue when downloading jar files

Hi,
I am having a problem starting up my application when the application server, in this case WebSphere 5.0, requires the user to be authorized.
In our development environment the server uses basic authentication but once deployed in our test environment we are required to use form based authentication, which I've read that JWS cannot handle.
The current flow is as follows:-
1. The user navigates to a protected page and is prompted to enter a user name and password.
2. Once authenticated they are shown the page that contains a link to a JNLP file.
3. The user clicks on the link, JWS processes the JNLP file and requests the first jar file.
4. The application server sees that there is no 'authorization' header set on the request so asks for the credentials again.
5. For basic authentication the user is prompted by JWS to enter the user name and password and the download succeeds.
6. For form based authentication, JWS instead receives an HTML login page and, after a short period, reports that it received a corrupted jar file.
I was wondering if there is any way to pass key/value pairs within the JNLP file (or any other approach to pass this data) that JWS could then use to populate the 'authorization' header of the request to load the jar files?
If this is not possible, are there any other techniques I could use to get round this?
I am currently passing other data via the 'JSP as JNLP' approach with my own servlet so can make dynamic changes to the JNLP file as needed.
Thanks in advance.

Hi ipooley,
I came upon your posting here after I've been searching for long for some "standard-conform" decision to this IMHO very popular problem and I was not able to find something so far apart of adding some jsessionid to the jar files in the href tag in order to hack the app server to believe the client is authenticated. In my case this doesn't help as well because the authentication is done separately through the company portal. Could you please give me some more details about your "hack"? I've tried to call the jnlp file from an applet (simply with showDocument(jsp generating jnlp) but this doesn't (and actually it can't) work too. And what about the jnlp file itself - if I set the href in the jnlp I have the same problems with the jnlp too?
thanks in advance for your reply,
Ilko

Similar Messages

  • Issue when download CSV file

    hi all ,
    i have created a ALV report . and one of the column is 010 for example  ,when i download it as a CSV file , i found this field is shown as 10 instead of 010 .
    Is there a way to solve this ?
    best regards
    Kevin

    Hi,
    you can control the outputs in Spread sheets with the help of Excel control statement like replace etc throug ABAP program itself....
    ex: in XLS sheets you will get  00001 as 1.
        but in xls sheet if you put ' 00001 you will get output as 00001without depleting zero's.
    same we are applying through ABAP statement.
    so, for the final Itab field(which ever) you want to retain 00001 use the mentioned statements in my earlier post.
    Hope i am clear with my explanation. If you are in Doubt still get back to me..

  • Location of downloaded .jar files?

    When I was using the java in the jre package, downloaded .jar files would go to ~/.java  I have switched to the openjdk6 package and I have no idea where downloaded .jar files go now... it seems as though they are cached in memory and not saved to disk at all.  Are they saved somewhere?

    openjdk and jre don't do the same.
    openjdk is a jdk (Java Development Kit) and jre is Java Runtime Environment.
    And the files should be downloaded into your download directory which you've either set manually or is maybe $HOME/Download.

  • How can I turn off the Download pop up Window from displaying when downloading a file?

    How can I turn off the Download pop up Window from displaying when downloading a file?

    To not display the built-in Firefox downloads window, Tools > Options > General tab, un-check "Show the <u>D</u>ownloads window when downloading a file". See: http://support.mozilla.com/en-US/kb/Options+window+-+General+panel
    If you have some other download manager installed, you will need to see the documentation for the download manager.
    <br />
    You have installed plugins with known security issues that should be updated. To see the plugins submitted as part of your question post, click "More system details..." to the right of you original question.
    *Shockwave Flash 10.1 r53
    *Next Generation Java Plug-in 1.6.0_18 for Mozilla browsers
    #'''Check your plugin versions''': http://www.mozilla.com/en-US/plugincheck/
    #*'''Note: plugin check page does not have information on all plugin versions'''
    #'''Update Shockwave Flash'''
    #*Use Firefox to Download and SAVE to your hard drive from one of the links below; '''<u>the links take you directly to the download and you avoid the "getplus" download manager and "extras" (i.e., toolbars, virus scan links, etc.) on the main Adobe page.</u>'''
    #*SAVE to your Desktop so you can find it
    #*After download completes, close Firefox
    #*Click on the file you just downloaded and install
    #**Note: Vista and Win7 users may need to right-click the installer downloaded and choose "Run as Administrator"
    #**Note: Most browsers other than IE will also get updated with this one download
    #**Note: To update IE, same procedure '''<u>but use IE</u>''' to go: http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_ax.exe
    #*After installation, restart Firefox and check your version again.
    #*'''<u>Download links and other information</u>''':
    #** https://support.mozilla.com/en-US/kb/Managing+the+Flash+plugin#Updating_Flash
    #** '''<u>or</u>''' you can download, save, then run the manual installers for IE, then for Firefox (and all other browsers) from here: http://kb2.adobe.com/cps/191/tn_19166.html#main_ManualInstaller
    #* Also see: http://support.mozilla.com/en-US/kb/Installing+the+Flash+plugin
    #* Also see (if needed): http://kb2.adobe.com/cps/191/tn_19166.html#main_Uninstall
    #'''Update Java:'''
    #* Download and update instructions: https://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox
    #* Removing old versions (if needed): http://www.java.com/en/download/faq/remove_olderversions.xml
    #* Remove multiple Java Console extensions (if needed): http://kb.mozillazine.org/Java#Multiple_Java_Console_extensions
    #* After the installation, start Firefox and check your version again.

  • I am running 4.0.1 and when I download something the Download box stays blank-even though I have selected in General Preferences 'Show the downloads window when downloading a file' AND selected 'Save files to Downloads'....???

    I am running 4.0.1 and when I download something the Download box stays blank-even though I have selected in General Preferences 'Show the downloads window when downloading a file' AND selected 'Save files to Downloads'....???

    In Firefox Options / Privacy be sure "Remember download history" is checked. To see all of the options on that panel, "Firefox will" must be set to "Use custom settings for history".
    To find your OS information, on your Windows desktop, right-click the My Computer icon, choose Properties, under System on that small window is info about your OS.
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''

  • When downloading a file, "open" option does not appears, only "save" does

    Before updating to 5.0, when downloading a file, I could select between "Open" and "save". Now I don't have the "Open" option. I need it because of my work and is a must have or it will take to much time to save and then opening them. In normal morning with "open" option took me like 30 minutes. Now it took me 1.5 hours and can't afford to loose that much time.

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    A possible cause is that the server sends a wrong response header.
    The server may not comply to RFC 5987 and sends a wrong Content-Disposition:attachment; filename header.
    * https://developer.mozilla.org/en/Firefox_8_for_developers#Network

  • FAQ: How do I troubleshoot audio issues when importing .MTS files?

    Hello.   The link FAQ: How do I troubleshoot audio issues when importing .MTS files?
    does not work, and i need the answer please. My imported MTS clips are not playing back audio because it seems that no audio imported with the video.   Thanks, Don.

    Hi there
    Audio plays when the object with the audio assigned appears. This is why you hear it when the Button appears.
    Try assigning the audio instead to the object that appears when you click the button. Perhaps the caption.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • I am facing issue when opening flash files in Flash CC. (error:- This file was created with a later release of Flash Professional and might contain new features that would be lost when saved in the current format.)

    I am facing issue when opening flash files in Flash CC. (error:- This file was created with a later release of Flash Professional and might contain new features that would be lost when saved in the current format.)

    Wow. Okay...
    I'll let the real veterans in this forum tackle your issues one after the other. But, I can tell you, all will be well.
    My only comment would be re: your computer specs:
    BJReis wrote:
    .  This may be due to somewhat older equipment:
    GHz Intel Core Duo MacBook Pro with a 4GB memory computer with Ddr3 running OSX 10.8.4
    To be completely honest, FCPX is a RAM hog. It just is. But, RAM is relatively cheap, and the pay-off is good.
    4GB is right on the edge, IMHO. 16G is ideal.
    I wish you luck, hang in there, and standby for more help.

  • Getting Exception in JWS while downloading jar files from server

    Hi All,
    I am running JWS on j2re1.4.2_10(build 03). while JWS is trying to download jar files from web server, I am getting the following Exception.
    All the jar files are signed. Any idea ?
    JNLPException[category: Download Error : Exception: null : LaunchDesc: null ]
         at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
         at com.sun.javaws.cache.DownloadProtocol.getDownloadSize(Unknown Source)
         at com.sun.javaws.LaunchDownload.downloadJarFiles(Unknown Source)
         at com.sun.javaws.LaunchDownload.downloadEagerorAll(Unknown Source)
         at com.sun.javaws.Launcher.downloadResources(Unknown Source)
         at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
         at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
         at com.sun.javaws.Launcher.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)

    Are you able to download your *.jar files directly from server
    For example say,
    http://127.0.0.1:8080/test/testme.jarIf yes,
    Then problem should be with your *.jnlp file. Check all your *.jar with respect to context location of your url from where you are downloading *.jnlp file

  • TS1368 when downloading large files such as videos of television season do you need to turn off autolock to prevent download from halting

    when downloading large files such as videos of a television season do you need to turn off autolock to prevent download from halting? And if so, if the download will take a significant amount of time (not sure how much offhand) how do you prevent burn in from prolonged screen image?

    Among the alternatives not mentioned... Using a TiVo DVR, rather than the X1; a Roamio Plus or Pro would solve both the concern over the quality of the DVR, as well as providing the MoCA bridge capability the poster so desperately wanted the X1 DVR to provide. (Although the TiVo's support only MoCA 1.1.) Just get a third-party MoCA adapter for the distant location. Why the hang-up on having a device provided by Comcast? This seems especially ironic given the opinions expressed regarding payments over time to Comcast. If a MoCA 2.0 bridge was the requirement, they don't exist outside providers. So couldn't the poster have simply requested a replacement XB3 from the local office and configured it down to only providing MoCA bridging -- and perhaps as a wireless access point? Comcast would bill him the monthly rate for the extra device, but such is the state of MoCA 2.0. Much of the OP sounds like frustration over devices providing capabilities the poster *thinks* they should have.

  • Where the javaws stores downloaded jar files?

    I met problem to start jnlp file in command line. System shows me error like "file system is full". So, I wonder where the javaws stores downloaded jar file. And how can I change it to an available directory. Thank you.

    >
    I met problem to start jnlp file in command line. System shows me error like "file system is full". So, I wonder where the javaws stores downloaded jar file. And how can I change it to an available directory. >- Open the [Java Control Panel|http://java.sun.com/docs/books/tutorial/information/player.jnlp].
    <if necessary>
    - Close the application viewer/Change to the 'General' tab
    </if necessary>
    - Click the Temporary Internet Files 'Settings' button.
    - Click the 'Change' button to move the cache, and follow the prompts
    Of course, in that same dialog are controls for changing the compression level, and adjusting the maximum size, of the JWS cache - you are probably better off trying that first.

  • Get message, "certificate authentication failed" when downloading

    Get message "certificate authentication failed" when downloading Adobe flash

    Download and run the offline installers
    Flash Player: http://helpx.adobe.com/content/help/en/flash-player/kb/installation-problems-flash-player- windows.html#main-pars_header
    Adobe Reader: http://get.adobe.com/reader/enterprise/

  • I am facing issue when opening flash files in Flash CC. (Error : - .fla was created with a later version of Adobe Flash Professional CC and might contain new features not supported in this version of Flash professional.)

    I am facing issue when opening flash files in Flash CC. (Error : - .fla was created with a later version of Adobe Flash Professional CC and might contain new features not supported in this version of Flash professional.)

    fyfesa1970 wrote:
    Ask a simple question and get a simple answer...see below...hilarious:
    All representatives are actively assisting other customers. Your estimated wait time is 0 minute(s) and 1 second(s) or longer. Thank you for your patience.
    We all can learn from this. Whenever you get stuck in a customer-service situation that goes nowhere, as soon as you become aware of the futility, get the name and employee ID of the person, then say, "I don't mean to be rude, I think we're both wasting our time. Perhaps you weren't trained for this issue, or perhaps your system isn't displaying the correct information. It doesn't matter, because I'm not getting proper customer support this way. Please ESCALATE this to your highest-level manager IMMEDIATELY. If that person isn't availabe, ESCALATE me to that person's highest-level manager. If you haven't been given the proper training, you can use this to inform your manager that you need the training. Thanks for trying to help. I appreciate it. I have copied and saved this chat session. NOW PLEASE ESCALATE THIS CASE AS I HAVE REQUESTED ABOVE. I'm waiting now... "
    The point is that you're a customer, and the company needs customers, so the individual who's failing to deliver good service needs to be identified so they can be properly trained, and so that problems in the system can also be identified, but more important is that you get the service you're entitled to.
    If you search the forum for similar questions, you'll see the kind of information that the volunteer users like yourself on the forum need to know about your system and files involved, so they can help you better.
    Good luck.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • When downloading a file, how can I see the download speed ?

    When downloading a file, how can I see at what speed it is downloading a file ?

    Go to the
    '''''[https://addons.mozilla.org/en-US/firefox/ Mozilla Add-ons Web Page]'''''
    (There’s a lot of good stuff here).<BR>
    What you want is a program to show you what you want to see.
    I myself use
    '''''[https://addons.mozilla.org/en-US/firefox/addon/download-status-bar/?src=collection&collection_id=33bf10fa-666d-45a2-9bc9-491ce21671c6 Download Status Bar]'''''.

  • Need to download JAR files from more than ONE HTTP-server ?

    Hello,
    We have a need to download JAR files for an application, from more than ONE HTTP-server, i.e. any specified HTTP-server in an extremely secure network.
    Does a solution exist for this requirement ? Is it possible to design a solution our selfes for this problem ?
    Best Regards
    Peter

    We have a need to download JAR files for an
    application, from more than ONE
    HTTP-server, That can be done using the extension element
    from within the resources element of the main JNLP.
    http://java.sun.com/j2se/1.5.0/docs/guide/javaws/developersguide/syntax.html#resources
    The extension element should refer to another JNLP
    (on the other site) that refers to the Jars. The jar files
    in any such (foreign) JNLP need to be signed, and the
    JNLP files should declare itself as a <component-desc>.
    For any level of detail on using extensions/components,
    download the spec. mentioned in the second paragraph
    of that section linked above. Unfortunately I can find no
    web browsable form of the information.
    Here is an example though..
    http://www.javasaver.com/testjs/jws/04/glclock.jnlp
    This (sandboxed) screenaver demo comes off my
    javasaver site. It refers to the JOGL API via an
    extension element in the JNLP, that points directly
    to the JOGL site. You might notice the security
    warning that is produced mentions..
    Name:      JOGL
    Publisher: sun microsystems, inc
    Source:    https://jogl.dev.java.net
    ..i.e. any specified HTTP-server in an
    extremely secure network. I do not know about an extremely secure network,
    but if it is OK to launch a normal JNLP for an
    application with a 'main()' from the server, I guess
    it should be OK to launch extensions off it - you
    might need to set up some tests.

Maybe you are looking for

  • Sony VAIO laptop not recognizing video ipod

    I just got a new Sony VAIO laptop. I plugged in my ipod, and it recognized it as an ipod and everything. I went to go install it, and the stupid windows hardware installation wizard couldn't install it. I have tried numerous times and it still can't.

  • Two iphones & a Mac Mini

    I have two iphones and when I plug in the second, the mac erases all my info and enters my husbands. How do I get both phone recognized on the Mac Mini.

  • Disable "Change mode" in FBL1N

    Hello All,    One user here would like block the options "change mode" in FBL1N transaction after click in document. I'm annex the screen about my doubt. Is it possible ? regards

  • Seeking information on new mac mini energy consumption -

    Hi, I live off-grid and my energy comes from a solar system. I am interested in assembling a relatively high a performance workstation that consumes the least power possible. I would like to run a 27" monitor, an external hard drive and some kind of

  • Viewing Table Information

    Hello, I am using SQL Developer Version 1.1.2.25 on a Windows XP machine. When I connect to oracle database, where I can view only one table, I notice that on the left side of the application, where the tree is, I can expand and see a tables folder,