[
https://issues.apache.org/jira/browse/SLING-2803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Radu Cotescu updated SLING-2803:
--------------------------------
Attachment: org.apache.sling.validation.zip
Finally made some time to finish the work for this proposal. I've attached a
ZIP file (md5sum 6cd656b493f1adc0dd635aee9cb6de0d) with the proposed API, a
default implementation bundle and a test services bundle that provides a simple
HTTP integration test.
More details are in the README.md file from the attached archive. Most, if not
all, of the code is commented and it should be pretty obvious what it does.
> Create a Validation module capable of validating POST requests or Resources
> ---------------------------------------------------------------------------
>
> Key: SLING-2803
> URL: https://issues.apache.org/jira/browse/SLING-2803
> Project: Sling
> Issue Type: New Feature
> Reporter: Radu Cotescu
> Attachments: org.apache.sling.validation.zip
>
>
> Several Sling users have asked in the past [1] about a Validation mechanism
> in Sling that's able to validate data coming from the user. However, such a
> module is still missing.
> This issue is meant to track the work progress on such a module.
> Ideally the module should be able to validate both request parameters and
> Resources, by obtaining their properties via a ValueMap and provide feedback
> in case of a validation error.
> [1] - http://sling.markmail.org/search/?q=validation
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira