HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML v3 Archived Forums (Read Only) › General questions / FAQ › Passing authentication headers › Re: Re: Passing authentication headers
November 24, 2010 at 16:43
#28316
Well, basic authentication is supported by PD4ML, so you may always use
[language=java:3s5g2c6o]Map m = new HashMap();
m.put(PD4Constants.PD4ML_BASIC_AUTHENTICATION, “login:password”);
pd4ml.setDynamicParams(m);[/language:3s5g2c6o]
and it is quite safe to use, as the base64-encoded password does not leave the server side in the scenario.
But the trick with iv-user HTTP header is still not clear to me. As I can imagine, MS Internet Explorer never sets such proprietary HTTP header. How does it request for images after HTML is loaded?