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
Hi, This is really an ASP (and/or a IIS/IE question), so I doubt if you will get any helpful replies on a JavaServlet 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.
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