This task creates, modifies and removes "presets" of a
directory.xml file.
Each property can be optionally encrypted. The encryption option can be used
to encrypt password properties.
Example:
<fuego:managedirectory directoryFile="directory.xml" admin="admin"
adminPassword="adminPassword" encrypt="true">
<fuego:add presetName="mypreset">
<fuego:property name="key1" value="value1"/>
<fuego:property name="key2" value="value2" encrypt="true"/>
</fuego:add>
<fuego:remove presetName="unusedpreset"/>
<fuego:modify presetName="presetToModify">
<fuego:removeproperties>
<fuego:property name="key1"/>
<fuego:property name="key2"/>
</fuego:removeproperties>
<fuego:addproperties> <!-- replaces the properties if they exist -->
<fuego:property name="key1" value="value1"/>
<fuego:property name="key2" value="value2" encrypt="true"/>
</fuego:addproperties>
</fuego:modify>
</fuego:managedirectory>
<remove>
Use this element to remove a present form
directory.xml
| Attribute |
Description |
Type |
Required |
| presetname |
Preset name
|
String
|
Yes
|
<preset>
| Attribute |
Description |
Type |
Required |
| name |
Property name
|
String
|
Yes
|
| value |
|
String
|
?
|
| encrypt |
|
boolean
|
No Defaults to false
|
Use this element to add new presets to
directory.xml
| Attribute |
Description |
Type |
Required |
| presetname |
Preset name
|
String
|
Yes
|
Use this element to modify presets on
directory.xml
| Attribute |
Description |
Type |
Required |
| presetname |
|
String
|
?
|