1

According to the documentation, the default Policy implementation can be changed by setting the value of the "policy.provider" security property (in the Java security properties file) to the fully qualified name of the desired Policy subclass implementation.

I created my own implementation of the policy provider class and did the changes accordingly to the Java security properties file. But the class didn't get loaded . After bit researching I came across this whitepaper,which says simply "create a "classes" directory under the "jre" directory and place the Policy implementation there. Now the bootstrap ClassLoader will pick up the MyPolicy implementation". Though I tried that still it ws a failure.

How can I make my policy implementation available to the bootstrap ClassLoader for the successful loading?

ChaaminiM
  • 21
  • 2

0 Answers0