Adds a provider specific property. This property is equivalent to
XML configuration properties.
If the underlying provider does not know how to handle the property,
it must silently ignore it.
Note: Using this non type-safe method is generally not recommended.
It is more appropriate to use, if available, the type-safe equivalent provided
by a specific provider via its
Configuration subclass.
ValidatorFactory factory = Validation.byProvider(ACMEProvider.class)
.configure()
.providerSpecificProperty(ACMEState.FAST)
.buildValidatorFactory();
This method is typically used by containers parsing
META-INF/validation.xmlthemselves and injecting the state to the
Configuration object.
If a property with a given name is defined both via this method and in the
XML configuration, the value set programmatically has priority.
If
null is passed as a value, the value defined in XML is used. If no value
is defined in XML, the property is considered unset.