tag:blogger.com,1999:blog-3129851325103663963.post5564733262423138165..comments2024-02-27T11:54:01.993-08:00Comments on Eyal Lupu Software Blog: How to Override Java Security Configuration per JVM InstanceEyal Lupuhttp://www.blogger.com/profile/06848117109525757263noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-3129851325103663963.post-28598135866624728482015-09-21T04:23:24.653-07:002015-09-21T04:23:24.653-07:00This comment has been removed by a blog administrator.Anonymoushttps://www.blogger.com/profile/09035021879381709126noreply@blogger.comtag:blogger.com,1999:blog-3129851325103663963.post-705623085001862312014-12-11T18:24:37.280-08:002014-12-11T18:24:37.280-08:00Eyal, My purpose is really to eliminate overriding...Eyal, My purpose is really to eliminate overriding. So I plan to change that the default 'true' value to 'false'. For local connections that is sufficient to prevent overriding of system properties. However, that does not work for remote connections using RMI. Any advice with respect to RMI? Thanks!equestionshttps://www.blogger.com/profile/01689908680191720506noreply@blogger.comtag:blogger.com,1999:blog-3129851325103663963.post-68212449294136334262013-10-11T01:04:56.040-07:002013-10-11T01:04:56.040-07:00Make sure you are setting the property (-D) before...Make sure you are setting the property (-D) before the main class name. Eyal Lupuhttps://www.blogger.com/profile/06848117109525757263noreply@blogger.comtag:blogger.com,1999:blog-3129851325103663963.post-32143673246442323272013-10-10T10:54:21.907-07:002013-10-10T10:54:21.907-07:00For some reason, I cannot get this to work. That i...For some reason, I cannot get this to work. That is, override a property by specifying it in a custom properties file and providing the location via the -Djava.security.properties parameter. <br /><br />Keep getting the default value specified in java.security file.<br /><br />I couldn't get this to work in JDK 1.6_32, 1.7.0_25, 1.7.0_40.Nareshhttps://www.blogger.com/profile/14985234161330860361noreply@blogger.comtag:blogger.com,1999:blog-3129851325103663963.post-87578864418813466222013-09-26T01:41:44.188-07:002013-09-26T01:41:44.188-07:00It works with -Djava.ext.dirs:
-Djava.ext.dirs=%J...It works with -Djava.ext.dirs:<br /><br />-Djava.ext.dirs=%JAVA_HOME%/jre/lib/ext;my/custom/ext/dirAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-3129851325103663963.post-27261616868737188752013-09-26T01:26:15.678-07:002013-09-26T01:26:15.678-07:00I cannot remember if the endorsed folder is suppor...I cannot remember if the endorsed folder is supported for JCE providers - but if so I don't see a reason why you cannot combine the two.<br />The best is probably to give it a tryEyal Lupuhttps://www.blogger.com/profile/06848117109525757263noreply@blogger.comtag:blogger.com,1999:blog-3129851325103663963.post-11005538229646126702013-09-25T23:48:19.425-07:002013-09-25T23:48:19.425-07:00Interesting, would it work in conjunction with &qu...Interesting, would it work in conjunction with "-Djava.endorsed.dirs" so that I can have my bouncycastle provider jar outside of jre/lib/ext directory?Anonymousnoreply@blogger.com