commit | e2fca0bb39e701152e93f9a556867f094e06e6dd | [log] [tgz] |
---|---|---|
author | Bertrand Delacretaz <bdelacretaz@apache.org> | Wed Jul 28 16:25:19 2021 +0200 |
committer | Bertrand Delacretaz <bdelacretaz@apache.org> | Wed Jul 28 16:25:19 2021 +0200 |
tree | bdafc848a19e39a03c9c43adf577a03ad5e14f75 | |
parent | 7381238c80d1bc16e8ca604480dd9fd803231b56 [diff] |
SLING-10676 - add or update SECURITY.md
This module is part of the Apache Sling project.
Start a Sling launchpad
Install the org.apache.sling.validation.api
and org.apache.sling.validation.core
bundles:
cd ../api mvn clean package sling:install cd ../core mvn clean package sling:install cd ../examples mvn clean package sling:install
curl -u admin:admin -Fsling:resourceType=/apps/validationdemo/components/user -Fusername=johnsmith -FfirstName=John204 -FlastName=Smith http://127.0.0.1:8080/content/validationdemo/users/johnsmith.modify.html
Check that the resource has not been modified at http://127.0.0.1:8080/content/validationdemo/users/johnsmith.html.
curl -u admin:admin -Fsling:resourceType=/apps/validationdemo/components/user -Fusername=johnsmith -FfirstName=Johnny -FlastName=Bravo http://127.0.0.1:8080/content/validationdemo/users/johnsmith.modify.html
Check that the resource has been modified at http://127.0.0.1:8080/content/validationdemo/users/johnsmith.html.