CSNCurrent en:Java policy setting (Domino server)

Aus Cryptshare Documentation
Version vom 24. Juli 2023, 07:28 Uhr von imported>Botsasp
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Wechseln zu:Navigation, Suche



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 the variant 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:

java policy
// these permissions allow cryptshare to run without deploying the jar file to lib/ext
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:

73957941.png