[[Security_Property_Migration]]
= Security Properties
Lets suppose security properties "a" and "c" defined in legacy security:
[source, xml]
----
...
----
To define security properties in Elytron subsystem you need to set
attribute `security-properties` of the subsystem:
[source, ruby]
----
./subsystem=elytron:write-attribute(name=security-properties, value={ \
a = "b", \
c = "d" \
})
----
You can also add or change one another property without modification of
others using map operations. Following command will set property "e":
[source, ruby]
----
./subsystem=elytron:map-put(name=security-properties, key=e, value=f)
----
By the same way you can also remove one of properties - in example newly
created property "e":
[source, ruby]
----
./subsystem=elytron:map-remove(name=security-properties, key=e)
----
Output XML configuration will be:
[source, xml]
----
...
----