author | František Kučera <franta-hg@frantovo.cz> |
Wed Jan 26 03:23:32 2011 +0100 (2011-01-26) | |
changeset 179 | 2ed9f3231a28 |
parent 145 | 0efefbf5f8b6 |
permissions | -rw-r--r-- |
franta-hg@0 | 1 |
<?xml version="1.0" encoding="UTF-8"?> |
franta-hg@0 | 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@0 | 3 |
<sun-web-app error-url=""> |
franta-hg@145 | 4 |
<context-root>/nekurak.net-web</context-root> |
franta-hg@145 | 5 |
<class-loader delegate="true"/> |
franta-hg@145 | 6 |
<parameter-encoding default-charset="UTF-8"/> |
franta-hg@161 | 7 |
<session-config> |
franta-hg@161 | 8 |
<session-properties> |
franta-hg@161 | 9 |
<!-- |
franta-hg@161 | 10 |
Aby se nám do URL nedostávalo ;jsessionid=… |
franta-hg@161 | 11 |
ve výchozím stavu jsou obě true, |
franta-hg@161 | 12 |
enableCookies nemusíme uvádět, |
franta-hg@161 | 13 |
skrze enableURLRewriting zakážeme vkládání ID do URL, |
franta-hg@161 | 14 |
uživatelům bez cookies nebudou fungovat relace. |
franta-hg@161 | 15 |
Viz http://www.i-coding.de/www/en/glassfish/configuration/session-id.html |
franta-hg@161 | 16 |
--> |
franta-hg@161 | 17 |
<property name="enableCookies" value="true"/> |
franta-hg@161 | 18 |
<property name="enableURLRewriting" value="false"/> |
franta-hg@161 | 19 |
</session-properties> |
franta-hg@161 | 20 |
</session-config> |
franta-hg@145 | 21 |
<jsp-config> |
franta-hg@145 | 22 |
<property name="keepgenerated" value="true"> |
franta-hg@145 | 23 |
<description>Keep a copy of the generated servlet class' java code.</description> |
franta-hg@145 | 24 |
</property> |
franta-hg@145 | 25 |
</jsp-config> |
franta-hg@145 | 26 |
<security-role-mapping> |
franta-hg@161 | 27 |
<!-- TODO: opravit role vs. skupiny (tabulka v DB) --> |
franta-hg@145 | 28 |
<role-name>opravneny</role-name> |
franta-hg@145 | 29 |
<group-name>bezny</group-name> |
franta-hg@145 | 30 |
</security-role-mapping> |
franta-hg@0 | 31 |
</sun-web-app> |