Java security problem - java.security file

I’m using the Verisign Java API and I have code that works on my local (windows) domino server, but porting it to the iSeries has me stuck.

I’ve modified the java.security on the iSeries in the QIBM/ProdData/Java400/jdk13/lib/security folder. In there, I added the new security provider information.

Am I modifying the correct file for the iSeries?

This is the error I’m getting:

java.security.AccessControlException: access denied (java.security.SecurityPermission getProperty.sun.ssl.trustmanager.type)

Thanks in advance.

Subject: Java security problem - java.security file

I haven’t had to do much editing of the java.security file, but I ran into this issue with some other Java agent work where some of the developers were using some open source JARS (Xalan/Xerces/Dom4J). The exception is pretty self explanatory, at least it was in my case. ACL exception, access denied, bottom line, something is trying to access a database and is not authorized to do so. I had the developer make sure that the agent security was set to “Allow restricted Operations”, the next option would be “Allow restricted operations with Full Admin rights”. Not sure if you are dealing with agents or not, but check the ACL. It could be that easy.