1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/java/nekurak.net-web/web/WEB-INF/glassfish-web.xml Wed Jul 20 18:55:25 2011 +0200
1.3 @@ -0,0 +1,31 @@
1.4 +<?xml version="1.0" encoding="UTF-8"?>
1.5 +<!DOCTYPE glassfish-web-app PUBLIC "-//GlassFish.org//DTD GlassFish Application Server 3.1 Servlet 3.0//EN" "http://glassfish.org/dtds/glassfish-web-app_3_0-1.dtd">
1.6 +<glassfish-web-app error-url="">
1.7 + <context-root>/nekurak.net-web</context-root>
1.8 + <security-role-mapping>
1.9 + <!-- TODO: opravit role vs. skupiny (tabulka v DB) -->
1.10 + <role-name>opravneny</role-name>
1.11 + <group-name>bezny</group-name>
1.12 + </security-role-mapping>
1.13 + <session-config>
1.14 + <session-properties>
1.15 + <!--
1.16 + Aby se nám do URL nedostávalo ;jsessionid=…
1.17 + ve výchozím stavu jsou obě true,
1.18 + enableCookies nemusíme uvádět,
1.19 + skrze enableURLRewriting zakážeme vkládání ID do URL,
1.20 + uživatelům bez cookies nebudou fungovat relace.
1.21 + Viz http://www.i-coding.de/www/en/glassfish/configuration/session-id.html
1.22 + -->
1.23 + <property name="enableCookies" value="true"/>
1.24 + <property name="enableURLRewriting" value="false"/>
1.25 + </session-properties>
1.26 + </session-config>
1.27 + <class-loader delegate="true"/>
1.28 + <jsp-config>
1.29 + <property name="keepgenerated" value="true">
1.30 + <description>Keep a copy of the generated servlet class' java code.</description>
1.31 + </property>
1.32 + </jsp-config>
1.33 + <parameter-encoding default-charset="UTF-8"/>
1.34 +</glassfish-web-app>