REST: zabezpečení – PUT, POST, DELETE může dělat jen uživatel s rolí „redaktor“
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://www.netbeans.org/ns/project/1">
3 <type>org.netbeans.modules.web.project</type>
5 <buildExtensions xmlns="http://www.netbeans.org/ns/ant-build-extender/1">
6 <extension file="rest-build.xml" id="rest.4">
7 <dependency dependsOn="generate-rest-config" target="-pre-pre-compile"/>
10 <data xmlns="http://www.netbeans.org/ns/web-project/3">
11 <name>nekurak.net-rest</name>
12 <minimum-ant-version>1.6.5</minimum-ant-version>
13 <web-module-libraries>
15 <file>${reference.nekurak_net-lib.jar}</file>
16 <path-in-war>WEB-INF/lib</path-in-war>
18 </web-module-libraries>
19 <web-module-additional-libraries/>
24 <root id="test.src.dir"/>
27 <references xmlns="http://www.netbeans.org/ns/ant-project-references/1">
29 <foreign-project>nekurak_net-lib</foreign-project>
30 <artifact-type>jar</artifact-type>
31 <script>build.xml</script>
33 <clean-target>clean</clean-target>