[xep-support] Re: How to specify username and password
vanRappard, Martin
martin.vanrappard at emc.com
Mon Nov 3 00:58:42 PST 2014
Management summary: you need create classes which extend
* java.net.URLConnection
* java.net.URLStreamHandler
More in-depth explanation here:
http://docstore.mik.ua/orelly/java/exp/ch09_06.htm
--Martin
________________________________________
From: Xep-support [xep-support-bounces at renderx.com] On Behalf Of Kirch Fritz [Friedrich.Kirch at it2media.de]
Sent: 03 November 2014 09:01
To: kevin at renderx.com; RenderX Community Support List
Subject: [xep-support] Re: How to specify username and password
Can you please explain me in detail: what is a custom protocol handler?
-----Ursprüngliche Nachricht-----
Von: Xep-support [mailto:xep-support-bounces at renderx.com] Im Auftrag von Kevin Brown
Gesendet: Freitag, 31. Oktober 2014 17:39
An: 'RenderX Community Support List'
Betreff: [xep-support] Re: How to specify username and password
> I don't think that url resolution is part of XEP, it just hands it to the jvm.
Exactly.
> We have used custom protocol handlers to do things like this.
And that is how you do it.
Kevin Brown
(650) 327-1000 Direct
(650) 328-8008 Fax
(925) 395-1772 Mobile
skype:kbrown01
kevin at renderx.com
sales at renderx.com
http://www.renderx.com
-----Original Message-----
From: Xep-support [mailto:xep-support-bounces at renderx.com] On Behalf Of Terrance Bockhol
Sent: Friday, October 31, 2014 9:14 AM
To: RenderX Community Support List
Subject: [xep-support] Re: How to specify username and password
I don't think that url resolution is part of XEP, it just hands it to the jvm.
We have used custom protocol handlers to do things like this. You can extend the default behavior of the jvm (of just getting the resource) and add features for authentication or further manipulation the resource.
On 10/31/2014 10:10 AM, Kirch Fritz wrote:
>
> Hello,
>
> At the moment I am trying to use url-addresses with
> fo:external-graphics, but I don’t know how to specify username and
> password in XSL-FO.
>
> From the sreenshot you can see:
>
> While using the url in internet-browser the server is asking for
> username and password.
>
> I already tried http://username:password@mobil.speisekarte.de/...
>
> But Renderx reacts with “Could not retrieve image from
> ‘http://username:passwort@mobil.speisekarte.de...
> Java.net.ConnectException: Connection timed out
>
> Can anybody help me?
>
> Mit freundlichen Grüßen
>
> Friedrich Kirch
>
> PDP-CBM Content Base & Media
>
> Tel. +49 911 30 730-0
>
> Fax +49 911 30 730-111
>
> friedrich.kirch at it2media.de <mailto:friedrich.kirch at it2media.de>__
>
> www.it2media.de <http://www.it2media.de/> Logo_IT2media IT2media GmbH
> & Co. KG, Pretzfelder Str. 13, 90425 Nürnberg ∙ Kommanditgesellschaft
> Sitz Nürnberg, HRA Nürnberg 12784 ∙ Persönlich haftende
> Gesellschafterin: IT2media Beteiligungsgesellschaft mbH, Sitz
> Nürnberg, HRB Nürnberg 19511 ∙
> Geschäftsführer: Dr. Gerhard Baier, Mathias Pauli
>
> **********************************************************************
> Diese E-Mail wurde auf Viren ueberprueft.
> mailsweeper at it2media.de <mailto:mailsweeper at it2media.de>
> **********************************************************************
>
>
>
>
> _______________________________________________
> (*) To unsubscribe, please visit
> http://lists.renderx.com/mailman/options/xep-support
> (*) By using the Service, you expressly agree to these Terms of
> Service http://w ww.renderx.com/terms-of-service.html
_______________________________________________
(*) To unsubscribe, please visit http://lists.renderx.com/mailman/options/xep-support
(*) By using the Service, you expressly agree to these Terms of Service http://w ww.renderx.com/terms-of-service.html
_______________________________________________
(*) To unsubscribe, please visit http://lists.renderx.com/mailman/options/xep-support
(*) By using the Service, you expressly agree to these Terms of Service http://w
ww.renderx.com/terms-of-service.html
**********************************************************************
Diese E-Mail wurde auf Viren ueberprueft.
mailsweeper at it2media.de
**********************************************************************
_______________________________________________
(*) To unsubscribe, please visit http://lists.renderx.com/mailman/options/xep-support
(*) By using the Service, you expressly agree to these Terms of Service http://w
ww.renderx.com/terms-of-service.html
!DSPAM:87,545743fb10104757119036!
More information about the Xep-support
mailing list