• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

Pass parameters to ASP on IIS

 
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear all,
I have an application that is running on WebSphere AppServer 3.5.6, I already implemented the part of getting user & password as login page, but the customer wants to have this directly from the logged user.
I know it is an option on IE with IIS, so we thought of making an ASP application on IIS, so that my application whenever it needs login, it passes the parameters that is sent to it ( which is dynamic ) to the IIS, that will get the user name & encrypt it - I already got an encryption algorthim - and pass the same parameters to my application again, so that it decrypt the name and create a session then proceed with the sent parameters.
I want to know an easy way to pass parameters to the ASP application using "POST", u can suggest any component, I want to pass all the requested data, so that the client is redirected to the IIS machine so the login user can be taken and then passed.
Any suggestion
thankx in advance
 
Ranch Hand
Posts: 140
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
This is really an ASP (and/or a IIS/IE question), so I doubt if you will get any helpful replies on a Java Servlet forum.
I would recomend that you look at web application security as implemented by WebSphere -- it will probably help you to understand your problem, and give you some ideas on how to implement something in JSP.
I expect that integrating IIS and ASP into a pure Java system will be far more effort, and give you a less reliable system than using what WebSphere gives you out-of-the-box.
If you really want to use ASP, then you probably need to find an ASP forum, rather than a Servlet forum.
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In order to create a POST from a servlet to another server, you need to create a URL that starts with "http://" - when you do a URL openConnection, what you get back is a HttpURLConnection. This has the methods needed to create a set of headers and includes the method setRequestMethod("POST");
Read more in the java.net package ....
Bill
reply
    Bookmark Topic Watch Topic
  • New Topic