R: sendRedirect and HTTPS
"Massimo Marcassa" <[email protected]> Wed, 29 Aug 2007 17:51:00 +0200
| Newsgroups | gmane.comp.cms.jahia.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Philippe, thanks for your answer. Just a question: is it impossible to do such a thing like this? ________________________________ Da: [email protected] per conto di Philippe Vollenweider Inviato: mer 29/08/2007 13.28 A: Here you can discuss and comment current and future developments of Jahia Oggetto: Re: [dev_list] sendRedirect and HTTPS Hi, I often use a frontal apache with jk connector and RewriteRules to make such thing. Cheers, Philippe At 27.08.2007 18:30, you wrote: >Content-class: urn:content-classes:message >Content-Type: multipart/alternative; >boundary="----_=_NextPart_001_01C7E8C7.9DA8C1E3"; x-avg-checked=avg-ok-717F2302 > >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 _______________________________________________ dev_list mailing list [email protected] http://lists.jahia.org/cgi-bin/mailman/listinfo/dev_list _______________________________________________ dev_list mailing list [email protected] http://lists.jahia.org/cgi-bin/mailman/listinfo/dev_list
winmail.dat
(application/ms-tnef, 4.8 KB) - not displayed