Added tag 15. díl for changeset 0efefbf5f8b6
1 <?xml version="1.0" encoding="UTF-8"?>
2 <web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
4 <servlet-name>REST</servlet-name>
5 <servlet-class>com.sun.jersey.spi.container.servlet.ServletContainer</servlet-class>
6 <load-on-startup>1</load-on-startup>
9 <servlet-name>REST</servlet-name>
10 <url-pattern>/*</url-pattern>
17 <!-- <zabezpečení> -->
19 <role-name>redaktor</role-name>
22 <web-resource-collection>
23 <web-resource-name>Nekuřák.net REST API</web-resource-name>
24 <url-pattern>/*</url-pattern>
25 <http-method>PUT</http-method>
26 <http-method>POST</http-method>
27 <http-method>DELETE</http-method>
28 </web-resource-collection>
30 <role-name>redaktor</role-name>
32 </security-constraint>
34 <auth-method>BASIC</auth-method>
35 <realm-name>nekurakNET</realm-name>
37 <!-- </zabezpečení> -->