• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help

 
Rajesh kannan
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I asked my first qn here on friday, Unlucky me, my post itself got deleted.

Again my question, I want to use a JNLP file from my jsp. Basically I want to use login.jsp, then take the userid, if valid user call JNLP file and install something on his computer. After this on sucesful login, my app should continue to the second search page.

Is this possible ?

Thanks
Eagerly waiting.. Rajesh K
 
Jared Cope
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Yes can be done. I suggest you look into password protecting directories and files with the webserver you are using to dish out your jsp.

All you need to do is to put the .jnlp file in one of these protected directories so that when it is requested, authorization will kick in.

Cheers, Jared.
 
Rajesh kannan
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Jared,

Our app runs on Apache/websphere. Have you done setting up something in a similar environment ? If so, can u give me some links ?

RK
 
Jared Cope
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Don't know about websphere, but with Apache it's all done in the httpd.conf file (or a .htaccess file in the appropriate local directory).

Below is an extract of a section in my httpd.conf:



I won't go into the details for each setting, but you can probably get the idea. The only other tricky bit is the allowed.users file which is a plain old user password file that linux can make for you.

You can also allow authentication to be done by looking up users in a database but I'll leave that one to you at a later date.

You can probably get more details on all this by googling.

Cheers, Jared.
 
Manuel Moons
Ranch Hand
Posts: 229
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your specifications are very vague. But with some restrictions this should be possible I think. Maybe you can elaborate?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic