You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by ki...@apache.org on 2021/11/14 12:45:03 UTC
svn commit: r1895032 - /poi/site/src/documentation/content/xdocs/encryption.xml
Author: kiwiwings
Date: Sun Nov 14 12:45:03 2021
New Revision: 1895032
URL: http://svn.apache.org/viewvc?rev=1895032&view=rev
Log:
restore info removed by SecureRandomSingleton cleanup
Modified:
poi/site/src/documentation/content/xdocs/encryption.xml
Modified: poi/site/src/documentation/content/xdocs/encryption.xml
URL: http://svn.apache.org/viewvc/poi/site/src/documentation/content/xdocs/encryption.xml?rev=1895032&r1=1895031&r2=1895032&view=diff
==============================================================================
--- poi/site/src/documentation/content/xdocs/encryption.xml (original)
+++ poi/site/src/documentation/content/xdocs/encryption.xml Sun Nov 14 12:45:03 2021
@@ -393,6 +393,17 @@
<ul>
<li>
+ (Since the change to Log4J 2 in POI 5.0.0, this hasn't been tested and you need to adapt the
+ logging settings to get all log output of XmlSec and POI)
+ </li>
+ <li>
+ add the following JVM parameters:
+ <source><![CDATA[
+ -Djava.io.tmpdir=<custom temp directory>
+ -Xbootclasspath/p:<preload dir, which contains /org/apache/xml/security/utils/UnsyncBufferedOutputStream.class>
+ ]]></source>
+ </li>
+ <li>
To check the processed files in the canonicalized form, the below UnsyncBufferedOutputStream class needs
to be injected/replaced. Put the .class file in separate directory and add it to the JVM parameters (see above):
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org