You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by "SANSONE, AARON M [Non-Pharmacia/1000]" <aa...@monsanto.com> on 2002/03/19 16:39:28 UTC

Avoiding Authentication Challenge when using JSVGCanvas.loadSVGDo cument(URL)

We are using the Batik API in an Applet to render SVG in a Frame.  Our
applet is deployed via a Solaris system running Apache 1.3.23.  We have gone
to great lengths to allow only a single authentication sign on for our users
(i.e. our Java Plug-in JVM does not ask for authentication from the user).
We accomplished this by setting the default authenticator when our applet
starts, and sending the "AUTHORIZATION" request header when we make URL
Connections back to the web server.

Unfortunately when we attempt to render an SVG Document that has been
retrieved from the web server, the application is requesting DomExtension
and several other classes from the web server.  It is also trying to request
a "null" object.

My applet tags contain the batik-libs.jar file which contain all of these
files (with the "null" exception of course).

<param name="archive"
value="fpclient.jar,batik-libs.jar,crimson-parser.jar,xml-apis.jar,xercesImp
l-2.0.0.jar">

So why am I getting an authentication challenge?

Any help would be appreciated.

-Aaron


Here is the Java Console information.  The first challenge is presented when
trying to get DomExtension.  There is also the null request.

(I spaced the http: to remove hyperlinks):

Opening http
://localhost/projects/fingerprinting-app/META-INF/services/org.apache.batik.
dom.svg.DomExtension with cookie "jsessionid=2980281016549537301".
Opening http ://localhost/projects/fingerprinting-app/null with cookie
"jsessionid=2980281016549537301".
Opening http
://localhost/projects/fingerprinting-app/org/apache/batik/script/jpython/JPy
thonInterpreterFactory.class with cookie "jsessionid=2980281016549537301".
Opening http
://localhost/projects/fingerprinting-app/org/apache/batik/script/jacl/JaclIn
terpreterFactory.class with cookie "jsessionid=2980281016549537301".
Opening http
://localhost/projects/fingerprinting-app/META-INF/services/org.apache.batik.
bridge.BridgeExtension with cookie "jsessionid=2980281016549537301".
Opening http
://localhost/projects/fingerprinting-app/org/apache/batik/util/resources/XML
ResourceDescriptor.class with cookie "jsessionid=2980281016549537301".
Opening http
://localhost/projects/fingerprinting-app/org/apache/batik/util/resources/XML
ResourceDescriptor_en.class with cookie "jsessionid=2980281016549537301".
Opening http
://localhost/projects/fingerprinting-app/org/apache/batik/util/resources/XML
ResourceDescriptor_en.properties with cookie
"jsessionid=2980281016549537301".
Opening http
://localhost/projects/fingerprinting-app/org/apache/batik/util/resources/XML
ResourceDescriptor_en_US.class with cookie "jsessionid=2980281016549537301".
Opening http
://localhost/projects/fingerprinting-app/org/apache/batik/util/resources/XML
ResourceDescriptor_en_US.properties with cookie
"jsessionid=2980281016549537301".
Opening http
://localhost/projects/fingerprinting-app/org/apache/batik/dom/svg/resources/
dtduris.class with cookie "jsessionid=2980281016549537301".
Opening http
://localhost/projects/fingerprinting-app/org/apache/batik/dom/svg/resources/
dtduris_en.class with cookie "jsessionid=2980281016549537301".
Opening http
://localhost/projects/fingerprinting-app/org/apache/batik/dom/svg/resources/
dtduris_en.properties with cookie "jsessionid=2980281016549537301".
Opening http
://localhost/projects/fingerprinting-app/org/apache/batik/dom/svg/resources/
dtduris_en_US.class with cookie "jsessionid=2980281016549537301".
Opening http
://localhost/projects/fingerprinting-app/org/apache/batik/dom/svg/resources/
dtduris_en_US.properties with cookie "jsessionid=2980281016549537301".

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org