aspose file tools
The moose likes JSP and the fly likes Skip HttpAuthentication by setting http authentication headers Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "Skip HttpAuthentication by setting http authentication headers" Watch "Skip HttpAuthentication by setting http authentication headers" New topic
Author

Skip HttpAuthentication by setting http authentication headers

Khharnai Sreenatha
Greenhorn

Joined: Oct 16, 2006
Posts: 3
Hi,

we have a requirement to bypass HttpAuthentication on a remote server for a protected resource.

I believe this can be done by setting http authentication headers..
is this possible in jsp using some predefined (or) custom tab libraries??

any ideas/suggestions are greatly appreciated
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35224
    
    7
The authentication headers are sent from the client to the server by the browser; they can't be set by JSPs or servlets. A Java client could set the header as is described here.

What is the purpose of wanting to do this - are you trying to implement a form of single sign-on?
[ November 30, 2006: Message edited by: Ulf Dittmer ]

Android appsImageJ pluginsJava web charts
Khharnai Sreenatha
Greenhorn

Joined: Oct 16, 2006
Posts: 3
yes we are basically implementing kind of SSO..
Applets are out of question for us...

the reason i was asking jsp was that i can deploy the jsp in my server and make it act as a client connecting to remote server url which can bypass the Authentication

We even tried AJAX way of solving things but since cross domain is restricted it was of NO use.

any ideas any other way of bypassing HTTP Authentication on a remote server URL
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Skip HttpAuthentication by setting http authentication headers
 
Similar Threads
NTLM HttpAuthentication
HTTPAuthentication SSO
can serveltfileter be used for serverside validation
Adding authentication in SOAP header..
Invoking a https webservice