Files
Signal-Server/service/src/main/resources/META-INF/validation/constraints-custom.xml
2024-11-11 16:32:24 -06:00

15 lines
778 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<constraint-mappings
xmlns="http://xmlns.jcp.org/xml/ns/validation/mapping"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/validation/mapping
http://xmlns.jcp.org/xml/ns/validation/mapping/validation-mapping-2.0.xsd"
version="2.0">
<constraint-definition annotation="jakarta.validation.constraints.NotEmpty">
<validated-by include-existing-validators="true">
<value>org.whispersystems.textsecuregcm.configuration.secrets.SecretStringList$ValidatorNotEmpty</value>
<value>org.whispersystems.textsecuregcm.configuration.secrets.SecretBytesList$ValidatorNotEmpty</value>
</validated-by>
</constraint-definition>
</constraint-mappings>