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“
franta-hg@86
     1
<?xml version="1.0" encoding="UTF-8"?>
franta-hg@86
     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">
franta-hg@86
     3
<sun-web-app error-url="">
franta-hg@86
     4
    <context-root>/nekurak.net-rest</context-root>
franta-hg@86
     5
    <class-loader delegate="true"/>
franta-hg@86
     6
    <jsp-config>
franta-hg@86
     7
	<property name="keepgenerated" value="true">
franta-hg@86
     8
	    <description>Keep a copy of the generated servlet class' java code.</description>
franta-hg@86
     9
	</property>
franta-hg@86
    10
    </jsp-config>
franta-hg@95
    11
    <security-role-mapping>
franta-hg@95
    12
	<role-name>redaktor</role-name>
franta-hg@95
    13
	<group-name>redaktor</group-name>
franta-hg@95
    14
    </security-role-mapping>
franta-hg@86
    15
</sun-web-app>