File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes bypass LDAP basic authentication Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "bypass LDAP basic authentication" Watch "bypass LDAP basic authentication" New topic

bypass LDAP basic authentication

nitin soman

Joined: Nov 08, 2011
Posts: 3
Hi All,
I am relatively new to the world of webservers and java, so please pardon me for any mistakes i make in conveying my problem.
THe problem is as following:
we have a sunone webserver 1(, and a sun one webserver2(
There is a jsp application in webserver 1.
A button in the application in redirects the user to"")) . When the user clicks the button, this redirect information reaches the browser and the browser then sends the user to
When the request hits an LDAP authentication mechanism is activated. Since LDAP finds no authorization information the LDAP sends a response back to the browser, The browser inturn pop's up a authentication box. Please note that it is Basic authentication, base 64 encoded user pass.
My question is can i include this base 64 encoding("Basic user***") in the redirect i am doing from such that it travels with the new request to and thus the login happens in LDAP and no popup box is shown to the user?
If it is how is this possible?
Thanks in advance.
I agree. Here's the link:
subject: bypass LDAP basic authentication
It's not a secret anymore!