CSNCurrent en:Java policy setting (Domino server)
In order for the data exchange between CS4N and the Cryptshare WEB server to be carried out, a connection between the Domino server and the Cryptshare WEB server must be established. As an alternative to variant 1 with the JAR file, the "java.policy" file of the Domino server can also be adapted from CS4N version 2.11.2 onwards to achieve this goal.
Advantage:
It is no longer necessary to store a jar file on the Domino server and therefore, in the event of updates to CS4N, there is no need to replace this file or to restart the Domino server.
Disadvantage:
For domino server updates that affect the Java environment, the entries may have to be stored again.
The file java.policy in the directory "<Domino program directory>\\jvm\\lib\\security" must be adapted.
Afterwards, the Domino server must be restarted once. Insert the following lines:
permission java.lang.RuntimePermission "getClassLoader"; permission java.lang.RuntimePermission "setContextClassLoader"; permission java.io.FilePermission "${java.home}/lib/-", "read";permission java.lang.reflect.ReflectPermission "suppressAccessChecks";
Example: