Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Authentication issue

 
nimish Jain
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is requirement as in to by pass the authentication
of the web-site using given userid and password.


currently before going to this third party website we get a dailog box.
Is there a way in which we can by pass this dailog box if we know the userID and password.?

Is there something we can do in the java code to bypass this authentication window?.

Its basic http authentication ....
 
Tim Baker
Ranch Hand
Posts: 541
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Don't think it's possible. The browser would have to send the login details as part of the http header when you send them to the new site. I don't think it is possible to tell the browser what details to use when you are forwarding them on.

I think you need to work with the authors of the other site to come up with away you could do it securely using another means.
 
Dan Novik
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes, you can set that header (username+password) in your application
 
Pranav Kulkarni
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
But how ?? is there any API available to do that in a JSP page to modify the current request?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!