Skip to main content

XSLT extension functions with a security manager

No replies
cmathieu
Offline
Joined: 2007-05-14
Points: 0

Is it still possible to use XSLT java extension functions when a security manager is set ?

According to the JAXP documentation, http://jaxp.java.net/1.4/JAXP-Compatibility.html#JAXP_security, and my experimentations with OpenJDK 6 and Oracle's JDK 7 when a security manager is set the FEATURE_SECURE_PROCESSING is automatically set to true and it is no longer possible to use extension functions nor to reset FEATURE_SECURE_PROCESSING to false.

This behaviour breaks my application since it relies on a security manager and uses java extension functions. How can I re-enable the extension functions feature ? Since I'm only using my own xslt files and not user provided files I don't see why I could not use the extension functions feature.
Thanks.