Hi all,
We want to run an external java application calling it from JAVA GUI, but we have found an error that prevents us from continuing. We have prepared the JAVA GUI installation for including .jar files we need and the installation goes right. The problem appears when we want to run the Java application from an ABAP report, then a security error is raised.:
access denied ("java.security.SecurityPermission" "putProviderProperty.UJI-MSCAPI")
In order to prevent this error, we have modified SAPGui.policy file with the following entries copying from "Level4":
//============================================================
// Customized user defined trust level definitions
//============================================================
grant principal com.sap.platin.base.security.GuiSessionPrincipal "#CLevel1" {
permission java.security.SecurityPermission "putProviderProperty.UJI-MSCAPI";
permission java.security.SecurityPermission "putProviderProperty.*";
permission java.security.AllPermission "<all permissions>";
};
grant principal com.sap.platin.base.security.WdpSessionPrincipal "#CLevel2" {
permission java.security.SecurityPermission "putProviderProperty.UJI-MSCAPI";
permission java.security.SecurityPermission "putProviderProperty.*";
permission java.security.AllPermission "<all permissions>";
};
And "TrustClassification" file has been modified with:
// DA1 is our test system.
DA1:Level4
We would appreciate any help in order to solve this problem.
Thank you in advance.
Regards.
Alejandro.
: