Files
ejbca-ce/removed.xml
Mike Agrenius Kushner fca1d46a06 feat: removed ca.dopermitextractableprivatekeys
Refs: ECA-13192
2025-03-12 16:59:57 +01:00

54 lines
3.3 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<project name="removed" basedir=".">
<description>
This build file checks for the removed properties, ant targets etc. Checks
made inside of this build script should fail hard (i.e. error-out as soon as
possible) so the user is forced to update his/her property files etc.
Once the item has been deprecated in one release, in the next release it
should be moved here from the deprecated list.
</description>
<!--========================================================================================-->
<!-- The property checks and failures should be added here directly (not inside of target). -->
<!--========================================================================================-->
<condition property="using-ocsphealthcheck-property">
<or>
<isset property="ocsphealthcheck.amountfreemem"/>
<isset property="ocsphealthcheck.authorizedips"/>
<isset property="ocsphealthcheck.dbquery"/>
<isset property="ocsphealthcheck.maintenancefile"/>
<isset property="ocsphealthcheck.maintenancepropertyname"/>
</or>
</condition>
<fail message="The ocsphealthcheck.* properties have been renamed to healthcheck.*. Please update your configuration!" if="using-ocsphealthcheck-property" />
<fail message="The property &quot;log.maxqueryrowcount&quot; has been removed. It can safely be removed from your configuration." if="log.maxqueryrowcount" />
<fail message="The property &quot;logconfiguration.cachetime&quot; has been removed. It can safely be removed from your configuration." if="logconfiguration.cachetime" />
<fail message="The property &quot;web.promptForPassword&quot; has been removed. It can safely be removed from your configuration." if="web.promptForPassword" />
<!-- check for properties that have been moved from ejbca.properties to cesecore.properties -->
<loadproperties>
<first>
<union>
<fileset dir="conf" includes="ejbca.properties" />
<string value="" />
</union>
</first>
<filterchain>
<prefixlines prefix="ejbca-properties-file." />
</filterchain>
</loadproperties>
<fail message="The property &quot;ca.serialnumberoctetsize&quot; has been moved from &quot;ejbca.properties&quot; to &quot;cesecore.properties&quot;." if="ejbca-properties-file.ca.serialnumberoctetsize" />
<fail message="The property &quot;ca.rngalgorithm&quot; has been moved from &quot;ejbca.properties&quot; to &quot;cesecore.properties&quot;." if="ejbca-properties-file.ca.rngalgorithm" />
<fail message="The property &quot;intresources.preferredlanguage&quot; has been moved from &quot;ejbca.properties&quot; to &quot;cesecore.properties&quot;." if="ejbca-properties-file.intresources.preferredlanguage" />
<fail message="The property &quot;intresources.secondarylanguage&quot; has been moved from &quot;ejbca.properties&quot; to &quot;cesecore.properties&quot;." if="ejbca-properties-file.intresources.secondarylanguage" />
<!--==============================================================================-->
<!-- Removed ant targets should be put in here with informative failure messages. -->
<!--==============================================================================-->
</project>