Hi guys,
 
I've got a problem with a sendRedirect.

I have a JSP page and I want to do a sendRedirect on a HTTPS url.

This is my code:

String str = rootElement.getAttribute("user").getValue() + ":" + authPwd;
String encodedStr = new String(Base64.encodeBase64(str.getBytes()));
response.setHeader("Authorization", "Basic " + encodedStr);
response.sendRedirect(url);

The browser is redirected correctly to the destination page but the request 
doesn't contain any 'Authorization' header.

Any ideas???

Thanks,

Massimo 
 
 
_______________________________________________
dev_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/dev_list

Reply via email to