Package org.apache.bval.jsr
Interface ApacheValidatorConfiguration.Properties
-
- Enclosing interface:
- ApacheValidatorConfiguration
public static interface ApacheValidatorConfiguration.PropertiesProprietary property keys forConfigurationImpl
-
-
Field Summary
Fields Modifier and Type Field Description static StringCUSTOM_TEMPLATE_EXPRESSION_EVALUATIONSpecifies whether EL evaluation is permitted in non-default message templates.static StringVALIDATION_XML_PATHthe location where to look for the validation.xml file.static StringVALIDATOR_FACTORY_CLASSNAMESpecifies the classname of theValidatorFactoryto use: this class is presumed have a constructor that accepts a singleConfigurationStateargument.
-
-
-
Field Detail
-
VALIDATION_XML_PATH
static final String VALIDATION_XML_PATH
the location where to look for the validation.xml file. default: "META-INF/validation.xml"- See Also:
- Constant Field Values
-
VALIDATOR_FACTORY_CLASSNAME
static final String VALIDATOR_FACTORY_CLASSNAME
Specifies the classname of theValidatorFactoryto use: this class is presumed have a constructor that accepts a singleConfigurationStateargument.- See Also:
- Constant Field Values
-
CUSTOM_TEMPLATE_EXPRESSION_EVALUATION
static final String CUSTOM_TEMPLATE_EXPRESSION_EVALUATION
Specifies whether EL evaluation is permitted in non-default message templates. By default this feature is disabled; if you enable it you should ensure that no constraint validator builds violations using message templates containing unchecked text (e.g. the validated value). To do otherwise is to expose your system to potential injection attacks.- See Also:
- Constant Field Values
-
-