Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Redirecting to another application with Authorization Header

Thread Tools

Redirecting to another application with Authorization Header

Brian McPheeters
Posts: n/a
I need to create a jsp page that sends the browser to another jsp page
in a separate web application with authorization information. Here is
what I have tried to do already.

response.setHeader("Authorization","BASIC " +

In mypage.jsp in the newJob application I try to grab the
Authorization header from the request object but it always comes back
as null. Upon further investigation I see that sendRedirect does not
send the additional headers that are set in the response object but
just sends the redirect header back to the browser.

Does anyone know of a way to do this? I don't want the user to have to
login to multiple times.

Brian McPheeters
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
getting username from NTLM authorization header? pallavi07 Java 0 04-15-2009 10:28 AM
Header files with "header.h" or <header.h> ?? mlt C++ 2 01-31-2009 02:54 PM
URL Authorization does not override File Authorization? SeanRW ASP .Net Security 1 05-25-2006 06:18 AM
Authorization HTML Header going missing Shaun Wilde ASP .Net 15 12-08-2004 09:10 AM
how to avoid using another header file inside a header file? Newsgroup - Ann C++ 4 11-02-2003 01:20 PM