java/nekurak.net-rest/web/WEB-INF/sun-web.xml
author František Kučera <franta-hg@frantovo.cz>
Tue, 06 Apr 2010 01:02:49 +0200
changeset 95 ec671fc8fb9c
parent 86 eb6fce71e85c
child 145 0efefbf5f8b6
permissions -rw-r--r--
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 <!DOCTYPE sun-web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Application Server 9.0 Servlet 2.5//EN" "http://www.sun.com/software/appserver/dtds/sun-web-app_2_5-0.dtd">
     3 <sun-web-app error-url="">
     4     <context-root>/nekurak.net-rest</context-root>
     5     <class-loader delegate="true"/>
     6     <jsp-config>
     7 	<property name="keepgenerated" value="true">
     8 	    <description>Keep a copy of the generated servlet class' java code.</description>
     9 	</property>
    10     </jsp-config>
    11     <security-role-mapping>
    12 	<role-name>redaktor</role-name>
    13 	<group-name>redaktor</group-name>
    14     </security-role-mapping>
    15 </sun-web-app>