java/hg-projekty/web/WEB-INF/web.xml
author František Kučera <franta-hg@frantovo.cz>
Sun, 22 Feb 2009 12:32:54 +0100
changeset 6 0bce16ca8a77
parent 5 c03fd5a58139
permissions -rw-r--r--
Přejmenování „realmu“ → FrantovoLDAP
+ nb drobnosti
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@1
     3
    <servlet>
franta-hg@1
     4
        <servlet-name>cgi</servlet-name>
franta-hg@1
     5
        <servlet-class>org.apache.catalina.servlets.CGIServlet</servlet-class>
franta-hg@1
     6
        <init-param>
franta-hg@1
     7
            <param-name>debug</param-name>
franta-hg@1
     8
            <param-value>0</param-value>
franta-hg@1
     9
        </init-param>
franta-hg@1
    10
        <init-param>
franta-hg@1
    11
            <param-name>cgiPathPrefix</param-name>
franta-hg@1
    12
            <param-value>WEB-INF/cgi</param-value>
franta-hg@1
    13
        </init-param>
franta-hg@1
    14
        <load-on-startup>10</load-on-startup>
franta-hg@1
    15
    </servlet>
franta-hg@1
    16
    <servlet-mapping>
franta-hg@1
    17
        <servlet-name>cgi</servlet-name>
franta-hg@4
    18
        <url-pattern>/hg/*</url-pattern>
franta-hg@1
    19
    </servlet-mapping>
franta-hg@5
    20
    <servlet-mapping>
franta-hg@5
    21
        <servlet-name>cgi</servlet-name>
franta-hg@5
    22
        <url-pattern>/mercurial/*</url-pattern>
franta-hg@5
    23
    </servlet-mapping>
franta-hg@0
    24
    <session-config>
franta-hg@5
    25
        <session-timeout>
franta-hg@5
    26
            30
franta-hg@5
    27
        </session-timeout>
franta-hg@0
    28
    </session-config>
franta-hg@0
    29
    <welcome-file-list>
franta-hg@0
    30
        <welcome-file>index.jsp</welcome-file>
franta-hg@1
    31
    </welcome-file-list>
franta-hg@5
    32
franta-hg@5
    33
    <security-role>
franta-hg@5
    34
        <role-name>opravneny</role-name>
franta-hg@5
    35
    </security-role>
franta-hg@5
    36
franta-hg@5
    37
    <security-constraint>
franta-hg@5
    38
        <web-resource-collection>
franta-hg@5
    39
            <web-resource-name>Přístup pro zápis</web-resource-name>
franta-hg@5
    40
            <url-pattern>/mercurial/*</url-pattern>
franta-hg@5
    41
        </web-resource-collection>
franta-hg@5
    42
        <auth-constraint>
franta-hg@5
    43
            <role-name>opravneny</role-name>
franta-hg@5
    44
        </auth-constraint>
franta-hg@5
    45
    </security-constraint>
franta-hg@5
    46
    
franta-hg@5
    47
    <login-config>
franta-hg@5
    48
        <auth-method>BASIC</auth-method>
franta-hg@6
    49
        <realm-name>FrantovoLDAP</realm-name>
franta-hg@5
    50
    </login-config>
franta-hg@5
    51
franta-hg@1
    52
</web-app>