java/nekurak.net-rest/web/WEB-INF/web.xml
changeset 188 74d06a8a4948
parent 187 e7b3ef7aaef4
child 189 fcd69520f12d
     1.1 --- a/java/nekurak.net-rest/web/WEB-INF/web.xml	Tue Jul 19 15:20:47 2011 +0200
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,38 +0,0 @@
     1.4 -<?xml version="1.0" encoding="UTF-8"?>
     1.5 -<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">
     1.6 -	<servlet>
     1.7 -		<servlet-name>REST</servlet-name>
     1.8 -		<servlet-class>com.sun.jersey.spi.container.servlet.ServletContainer</servlet-class>
     1.9 -		<load-on-startup>1</load-on-startup>
    1.10 -	</servlet>
    1.11 -	<servlet-mapping>
    1.12 -		<servlet-name>REST</servlet-name>
    1.13 -		<url-pattern>/*</url-pattern>
    1.14 -	</servlet-mapping>
    1.15 -	<session-config>
    1.16 -		<session-timeout>
    1.17 -		30
    1.18 -		</session-timeout>
    1.19 -	</session-config>
    1.20 -	<!--  <zabezpečení> -->
    1.21 -	<security-role>
    1.22 -		<role-name>redaktor</role-name>
    1.23 -	</security-role>
    1.24 -	<security-constraint>
    1.25 -		<web-resource-collection>
    1.26 -			<web-resource-name>Nekuřák.net REST API</web-resource-name>
    1.27 -			<url-pattern>/*</url-pattern>
    1.28 -			<http-method>PUT</http-method>
    1.29 -			<http-method>POST</http-method>
    1.30 -			<http-method>DELETE</http-method>
    1.31 -		</web-resource-collection>
    1.32 -		<auth-constraint>
    1.33 -			<role-name>redaktor</role-name>
    1.34 -		</auth-constraint>
    1.35 -	</security-constraint>
    1.36 -	<login-config>
    1.37 -		<auth-method>BASIC</auth-method>
    1.38 -		<realm-name>nekurakNET</realm-name>
    1.39 -	</login-config>
    1.40 -	<!--  </zabezpečení> -->
    1.41 -</web-app>