[id='property-security-realms_{context}']
= Property realms
Property realms use property files to define users and groups.

* `users.properties` contains {brandname} user credentials.
Passwords can be pre-digested with the `DIGEST-MD5` and `DIGEST` authentication mechanisms.
* `groups.properties` associates users with roles and permissions.

[NOTE]
====
Properties files contain headers that associate them with security realms in {brandname} Server configuration.
====

.users.properties
[source,options="nowrap",subs=attributes+]
----
include::properties/server_users.properties[]
----

.groups.properties
[source,options="nowrap",subs=attributes+]
----
include::properties/server_groups.properties[]
----

[discrete]
== Property realm configuration

.XML
[source,xml,options="nowrap",subs=attributes+,role="primary"]
----
include::xml/server_properties_realm.xml[]
----

.JSON
[source,json,options="nowrap",subs=attributes+,role="secondary"]
----
include::json/server_properties_realm.json[]
----

.YAML
[source,yaml,options="nowrap",subs=attributes+,role="secondary"]
----
include::yaml/server_properties_realm.yaml[]
----
