author | František Kučera <franta-hg@frantovo.cz> |
Fri Feb 26 12:45:48 2010 +0100 (2010-02-26) | |
changeset 44 | 74bded83c0eb |
parent 41 | 2c3451cc396c |
child 49 | 9b2a597cc862 |
permissions | -rw-r--r-- |
franta-hg@0 | 1 |
<?xml version="1.0" encoding="UTF-8"?> |
franta-hg@0 | 2 |
<web-app version="2.5" 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_2_5.xsd"> |
franta-hg@0 | 3 |
<session-config> |
franta-hg@42 | 4 |
<session-timeout>30</session-timeout> |
franta-hg@0 | 5 |
</session-config> |
franta-hg@42 | 6 |
|
franta-hg@0 | 7 |
<welcome-file-list> |
franta-hg@40 | 8 |
<welcome-file>index.jsp</welcome-file> |
franta-hg@7 | 9 |
</welcome-file-list> |
franta-hg@42 | 10 |
|
franta-hg@12 | 11 |
<error-page> |
franta-hg@40 | 12 |
<!-- Stránka nenalezena --> |
franta-hg@40 | 13 |
<error-code>404</error-code> |
franta-hg@40 | 14 |
<location>/WEB-INF/chyby/404.jsp</location> |
franta-hg@12 | 15 |
</error-page> |
franta-hg@12 | 16 |
<error-page> |
franta-hg@40 | 17 |
<!-- Interní chyba serveru --> |
franta-hg@40 | 18 |
<error-code>500</error-code> |
franta-hg@40 | 19 |
<location>/WEB-INF/chyby/500.jsp</location> |
franta-hg@12 | 20 |
</error-page> |
franta-hg@42 | 21 |
|
franta-hg@33 | 22 |
<context-param> |
franta-hg@40 | 23 |
<!-- Pro případ, že chybí hlavička „Accept-language“ v HTTP požadavku --> |
franta-hg@40 | 24 |
<param-name>javax.servlet.jsp.jstl.fmt.fallbackLocale</param-name> |
franta-hg@40 | 25 |
<param-value>cs</param-value> |
franta-hg@33 | 26 |
</context-param> |
franta-hg@42 | 27 |
|
franta-hg@40 | 28 |
<!-- <zabezpečení> --> |
franta-hg@40 | 29 |
<security-role> |
franta-hg@40 | 30 |
<role-name>opravneny</role-name> |
franta-hg@40 | 31 |
</security-role> |
franta-hg@40 | 32 |
<security-constraint> |
franta-hg@40 | 33 |
<web-resource-collection> |
franta-hg@40 | 34 |
<web-resource-name>Správa Nekuřák.net</web-resource-name> |
franta-hg@40 | 35 |
<url-pattern>/sprava/*</url-pattern> |
franta-hg@40 | 36 |
</web-resource-collection> |
franta-hg@40 | 37 |
<auth-constraint> |
franta-hg@40 | 38 |
<role-name>opravneny</role-name> |
franta-hg@40 | 39 |
</auth-constraint> |
franta-hg@40 | 40 |
</security-constraint> |
franta-hg@40 | 41 |
<login-config> |
franta-hg@41 | 42 |
<auth-method>FORM</auth-method> |
franta-hg@40 | 43 |
<realm-name>nekurakNET</realm-name> |
franta-hg@41 | 44 |
<form-login-config> |
franta-hg@41 | 45 |
<form-login-page>/?akce=prihlaseni</form-login-page> |
franta-hg@41 | 46 |
<form-error-page>/?akce=prihlaseni&chyba=ano</form-error-page> |
franta-hg@41 | 47 |
</form-login-config> |
franta-hg@40 | 48 |
</login-config> |
franta-hg@40 | 49 |
<!-- </zabezpečení> --> |
franta-hg@42 | 50 |
|
franta-hg@7 | 51 |
</web-app> |