Skip to Content.
Sympa Menu

mace-opensaml-users - library endorsement

Subject: OpenSAML user discussion

List archive

library endorsement


Chronological Thread 
  • From: Joakim Recht <>
  • To:
  • Subject: library endorsement
  • Date: Mon, 22 Sep 2008 09:14:15 +0200

Hi

To use OpenSAML, you need to add some jars to java.endorsed.dirs somehow. However, instead of doing that, you can also set two system properties (and add the libraries to the usual classpath):

javax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
javax.xml.validation.SchemaFactory\:http\://www.w3.org/2001/XMLSchema=org.apache.xerces.jaxp.validation.XMLSchemaFactory

This might be more appropriate in some circumstances - for example, some appservers support app-specific system properties so that the endorsement does not have to be global.

I though this might be usable information for somebody...

Rgards,
--
Joakim Recht

Trifork A/S, Margrethepladsen 4, 8000 Aarhus C, Denmark
Phone: +45 8732 8787 / Mobile: +45 2021 6257
http://www.trifork.com - E-mail:




Archive powered by MHonArc 2.6.16.

Top of Page