<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p><br>
</p>
<br>
<div class="moz-cite-prefix">On 1/23/17 5:00 PM, Brent Putman wrote:<br>
</div>
<blockquote
cite="mid:5aa24c90-383a-5481-dbd9-1ad2da03e809@georgetown.edu"
type="cite">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<blockquote
cite="mid:6F6E0156-86E4-4437-B032-9B46D961AE60@dragonacea.biz"
type="cite">
<pre wrap="">
<argLine>-Djava.security.properties=${project.basedir}/java.security-overrides</argLine>
</pre>
</blockquote>
<br>
That works, but as I mentioned somewhere else (where?), that's
probably sub-optimal b/c we then have to keep that file updated
with any new/changed stuff going forward, and/or the tests would
no longer function as a canary to whatever stuff they change wrt
the JRE defaults in the future..<br>
</blockquote>
<br>
Actually, for future reference and to correct my earlier
statements... Upon reviewing the java.security comments, it's not
quite that bad. Specifying that prop exactly that way (with 1
equals sign, per usual) allows you to override individual properties
*only* since it logically appends to the existing file. So the
concern about having to replicate the whole file contents isn't
true.<br>
<br>
You *can* override the whole file with 2 equals signs. A little
funky...<br>
<br>
<br>
<tt># An alternate java.security properties file may be specified</tt><tt><br>
</tt><tt># from the command line via the system property</tt><tt><br>
</tt><tt>#</tt><tt><br>
</tt><tt># -Djava.security.properties=<URL></tt><tt><br>
</tt><tt>#</tt><tt><br>
</tt><tt># This properties file appends to the master security
properties file.</tt><tt><br>
</tt><tt># If both properties files specify values for the same key,
the value</tt><tt><br>
</tt><tt># from the command-line properties file is selected, as it
is the last</tt><tt><br>
</tt><tt># one loaded.</tt><tt><br>
</tt><tt>#</tt><tt><br>
</tt><tt># Also, if you specify</tt><tt><br>
</tt><tt>#</tt><tt><br>
</tt><tt># -Djava.security.properties==<URL> (2 equals),</tt><tt><br>
</tt><tt>#</tt><tt><br>
</tt><tt># then that properties file completely overrides the master
security</tt><tt><br>
</tt><tt># properties file.</tt><tt><br>
</tt><br>
</body>
</html>