Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Continue browser jsessionid for downloading jar from OWS #578

Open
satishgv1 opened this issue Apr 24, 2024 · 1 comment
Open

Continue browser jsessionid for downloading jar from OWS #578

satishgv1 opened this issue Apr 24, 2024 · 1 comment

Comments

@satishgv1
Copy link

As part of our project we are using JNLP and OWS. In the JSP, jnlp file is dynamically generated and the same is launched and executed using "jnlp://host:port/test/test.jnlp" as part of the JSP within script tag.

This downloads and launches the jnlp file using OWS. But, we can notice that JNLP is getting launched with a different JSESSIONID and trying to download the required jar and not the browser's JSESSIONID where user is authenticated.

How to use browser's JSESSIONID to launch jnlp file ?

@AlBundy33
Copy link

IMO your application is responsible for session-handling.
E.g. if the user downloads the file than you have a local file with no reference to the browser or a session.

But you can put your session-id in the jnlp (e.g. arguments or properties) and read it from there on application start

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants