Skip to Main Content

Java Security

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Is it possible to override Java.security file

843811May 30 2005 — edited Jul 12 2005
Hi,

Is there some property which we can pass with -D argument to JVM to specify a custom java.security file, similar to the way we can specify a custom policy file using "java -Djava.security.policy".
My actual requirement is to insert a new Provider which I do not want to do by adding add/insertProvider in my code, nor do I want to change the file

Any workarounds??
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 9 2005
Added on May 30 2005
1 comment
1,255 views