Forum Stats

  • 3,852,000 Users
  • 2,264,055 Discussions
  • 7,904,928 Comments

Discussions

Not working to alter java.security file! (policy.provider property)

843811
843811 Member Posts: 49,851 Green Ribbon
I'm trying to alter the policy.provider property located in the java.security file, so it points to my Policy class. It doesn't seem to be working. All my class does is give AllPermission to everything, yet it keeps telling me permission denied when i try anything secure. What's wrong?

Comments

  • 843811
    843811 Member Posts: 49,851 Green Ribbon
    Try adding a new policy.url to point to a policy file you've prepared. For example, add -

    policy.url.3=file:/D:/projects/p1/myNewCertificate

    For help setting up a policy file, see -

    http://java.sun.com/docs/books/tutorial/security1.2/toolsign/rstep3.html

    You might want to start at the top of that section -

    http://java.sun.com/docs/books/tutorial/security1.2/toolsign/index.html

    Good luck. JT
This discussion has been closed.