author | František Kučera <franta-hg@frantovo.cz> |
Tue, 09 Mar 2010 20:29:29 +0100 | |
changeset 60 | 1a05c7ce4f73 |
parent 49 | 9b2a597cc862 |
child 64 | a2e6f8fc4c34 |
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@49 | 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@49 | 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@49 | 12 |
<!-- Stránka nenalezena --> |
franta-hg@49 | 13 |
<error-code>404</error-code> |
franta-hg@49 | 14 |
<location>/WEB-INF/chyby/404.jsp</location> |
franta-hg@12 | 15 |
</error-page> |
franta-hg@12 | 16 |
<error-page> |
franta-hg@49 | 17 |
<!-- Interní chyba serveru --> |
franta-hg@49 | 18 |
<error-code>500</error-code> |
franta-hg@49 | 19 |
<location>/WEB-INF/chyby/500.jsp</location> |
franta-hg@12 | 20 |
</error-page> |
franta-hg@49 | 21 |
|
franta-hg@49 | 22 |
<servlet> |
franta-hg@49 | 23 |
<servlet-name>atom</servlet-name> |
franta-hg@49 | 24 |
<jsp-file>/WEB-INF/atom/atom.jsp</jsp-file> |
franta-hg@49 | 25 |
</servlet> |
franta-hg@49 | 26 |
|
franta-hg@49 | 27 |
<servlet-mapping> |
franta-hg@49 | 28 |
<servlet-name>atom</servlet-name> |
franta-hg@49 | 29 |
<url-pattern>/atom/*</url-pattern> |
franta-hg@49 | 30 |
</servlet-mapping> |
franta-hg@49 | 31 |
|
franta-hg@33 | 32 |
<context-param> |
franta-hg@49 | 33 |
<!-- Pro případ, že chybí hlavička „Accept-language“ v HTTP požadavku --> |
franta-hg@49 | 34 |
<param-name>javax.servlet.jsp.jstl.fmt.fallbackLocale</param-name> |
franta-hg@49 | 35 |
<param-value>cs</param-value> |
franta-hg@33 | 36 |
</context-param> |
franta-hg@42 | 37 |
|
franta-hg@40 | 38 |
<!-- <zabezpečení> --> |
franta-hg@40 | 39 |
<security-role> |
franta-hg@49 | 40 |
<role-name>opravneny</role-name> |
franta-hg@40 | 41 |
</security-role> |
franta-hg@40 | 42 |
<security-constraint> |
franta-hg@49 | 43 |
<web-resource-collection> |
franta-hg@49 | 44 |
<web-resource-name>Správa Nekuřák.net</web-resource-name> |
franta-hg@49 | 45 |
<url-pattern>/sprava/*</url-pattern> |
franta-hg@49 | 46 |
</web-resource-collection> |
franta-hg@49 | 47 |
<auth-constraint> |
franta-hg@49 | 48 |
<role-name>opravneny</role-name> |
franta-hg@49 | 49 |
</auth-constraint> |
franta-hg@49 | 50 |
</security-constraint> |
franta-hg@40 | 51 |
<login-config> |
franta-hg@49 | 52 |
<auth-method>FORM</auth-method> |
franta-hg@49 | 53 |
<realm-name>nekurakNET</realm-name> |
franta-hg@41 | 54 |
<form-login-config> |
franta-hg@41 | 55 |
<form-login-page>/?akce=prihlaseni</form-login-page> |
franta-hg@41 | 56 |
<form-error-page>/?akce=prihlaseni&chyba=ano</form-error-page> |
franta-hg@41 | 57 |
</form-login-config> |
franta-hg@40 | 58 |
</login-config> |
franta-hg@40 | 59 |
<!-- </zabezpečení> --> |
franta-hg@42 | 60 |
|
franta-hg@7 | 61 |
</web-app> |