ibmruntimes / openj9-openjdk-jdk17

Extensions for OpenJDK 17 for Eclipse OpenJ9
GNU General Public License v2.0
23 stars 53 forks source link

Add provider name and class name mapping in Restricted Security mode #308

Closed taoliult closed 8 months ago

taoliult commented 8 months ago

This is a back-port PR from PR https://github.com/ibmruntimes/openj9-openjdk-jdk/pull/722

And because of the clients need this change for the February release, so create this PR for the v0.43.0-release.

For the Java security providers, for example, the SunSASL, its class name is com.sun.security.sasl.Provider. From the provider class name, can not get the provider name which defined in its construction method. So, add the mapping between the provider name and its class name in Restricted Security mode.

@AdamBrousseau @jasonkatonica FYI.